Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!www.nntp.primenet.com!nntp.primenet.com!nntp.uio.no!nntp.uib.no!nntp-bergen.UNINETT.no!nntp-trd.UNINETT.no!news-b.uni-c.dk!news.uni-c.dk!diku.dk!jensen From: j e n s e n <jensen@diku.dk> Newsgroups: comp.unix.bsd.bsdi.misc,comp.mail.sendmail Subject: sendmail suddenly confused about local time / timezone Date: 30 Sep 1996 13:00:31 GMT Organization: Department of Computer Science, U of Copenhagen Lines: 48 Sender: jensen@tyr.diku.dk Message-ID: <52og9f$o2v@vidar.diku.dk> NNTP-Posting-Host: tyr.diku.dk X-Newsreader: NN version 6.5.0 #13 Originator: jensen@tyr.diku.dk Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5018 comp.mail.sendmail:32101 After updating my "/etc/localtime" all applications except sendmail return the correct local time (+0200) - but sendmail seems confused Let me put this question up front, and then supply some background: Is there anywhere, aside from /etc/localtime, that sendmail could sniff timezone information? It _seems_ as if sendmail somehow has managed to remember the old rules for DST, and now reports current time in +0100. Background: For various reasons I am running and old (IDA)-sendmail on an old isolated BSD/OS 1.0. After this week-end sendmail has started to think local time is offset by +0100, which would have been correct if the old rules for DST was still in place. sendmail is the only application that exhibits this behaviour. (not quite true: part of the NetNews system (INN) exhibited similar behaviour, but this was cured by a reboot) I had copied a new version of /etc/localtime into place, before the week-end, and any other application seems happy with this. Output from the find_dst util: $ ./find_dst Today is Mon Sep 30 13:43:34 1996, DST is on. The current value of TZ is not set. The next DST change will be Sun Oct 27 02:59:59 1996 one second later it will be Sun Oct 27 02:00:00 1996 which is correct. gmtime() and localtime() compiled into a test program, returns the expected values. Sendmail is compiled with: # include "config/bsd44.h" Impact: syslog-info and Received:-headers have incorrect/confusing time-info. Any ideas?? tia, -- . . . . . . . . . . . . . . . . . . . . . . . . . . . . j e n s e n