Koozali.org: home of the SME Server

Date & Time stamping from smtpd in maillog

Marco Steenbergen

Date & Time stamping from smtpd in maillog
« on: April 26, 2002, 01:30:34 PM »
It seems smtpd has another timezone setting.  I cannot find any location where to change this so the times recorded in the logfile aren't 6 hours off.

It's only smtpd showimngh this behaviour, not smtpfwdd.

Marco Steenbergen

Re: Date & Time stamping from smtpd in maillog
« Reply #1 on: April 29, 2002, 01:58:43 AM »
I've been digging a little and came up with this for a reading:

http://ftp.rge.com/pub/mail/smtpd/v1.0/smtpd_1.14/INSTALL

/var/spool/smtpd/etc/localtime is the one to change?

Marco Steenbergen

Re: Date & Time stamping from smtpd in maillog
« Reply #2 on: April 29, 2002, 11:52:27 AM »
I must be talking to myself...

Yes, it is:

cp /etc/localtime /var/spool/smtpd/etc fixes this.