Article View: comp.sys.ibm.pc.rt
Article #752Neophyte Question: Changeing system timezone
From: Eddy J Gurney
Date: Tue, 05 Jun 1990 00:58
Date: Tue, 05 Jun 1990 00:58
18 lines
1335 bytes
1335 bytes
OK... I thought I could figure this one out, but I haven't been able to. So
I'll ask my (probably) simple question here on netland.
When sendmail sends and receives mail, it timestamps the "Received by:"
line incorrectly. We're in the "EST5EDT" timezone, and that is set correctly
by the /etc/environment file. However, the offset should be '-0400' from
GMT since we're currently in D.S.T., but it's not - it says '-0500', and is
subtracting an hour from the time the mail was actually received.
I did some tests using the 'date' command as the superuser, and it does
switch from EDT/EST like it should (probably because date is reading the
default TZ variable.) I would guess that sendmail is reading the system
timezone, which is probably not configured for D.S.T. or something.
Any suggestions?
--
Eddy J. Gurney, N8FPW -- gurney@frith.egr.msu.edu OR 17158EJG@MSU.BITNET
(reachable via uucp also)
Technical Details
Message-ID:
<1990Jun5.005857.8399@msuinfo.cl.msu.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mailrus!ncar!tank!msuinfo!cpsin2!gurneyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mailrus!ncar!tank!msuinfo!cpsin2!gurney From: gurney@cpsin2.uucp (Eddy J Gurney) Newsgroups: comp.sys.ibm.pc.rt Subject: Neophyte Question: Changeing system timezone Message-ID: <1990Jun5.005857.8399@msuinfo.cl.msu.edu> Date: 5 Jun 90 00:58:57 GMT Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University, East Lansing Lines: 18