Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!spool.mu.edu!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!lance!ptcburp!michi From: michi@ptcburp.ptcbu.oz.au (Michael Henning) Newsgroups: comp.sys.mips Subject: Re: Setting timezone in sendmail 5.61 Message-ID: <344@ptcburp.ptcbu.oz.au> Date: 11 Mar 91 23:02:44 GMT References: <1991Mar7.092840.13878@cs.nott.ac.uk> Organization: Pyramid Technology Corporation Lines: 27 cczdao@mips.nott.ac.uk (David Osborne) writes: >The sendmail I'm running on our M/2000 under RiscOS 4.51 always seems >to believe it's operating in the Pacific timezone, so the timestamps >are 8 hours behind GMT. I've checked I have a Ot option in my >sendmail.cf to set the timezones appropriately ># time zone names (V6 only) >OtGMT,BST >but the comment makes me wonder if timezones are still supported in >this way (the .cf file is generated using the UK-Sendmail 2.1 package). >Our /etc/TZ file is set up correctly. Is there anything else which >should be set to make sendmail use the GMT timezone? Sendmail explicitely unsets the environment variable TZ, and in most implementations I have seen, the Ot option is ignored. The best way to fix it is to hack the source. This means that your users can claim to have sent their mail at a different time than they actually sent it, by setting TZ, but I don't believe that this is a problem for most installations. Michi. -- -m------- Michael Henning +61 75 950255 ---mmm----- Pyramid Technology +61 75 522475 FAX -----mmmmm--- Research Park, Bond University michi@ptcburp.ptcbu.oz.au -------mmmmmmm- Gold Coast, Q 4229, AUSTRALIA uunet!munnari!ptcburp.oz!michi