[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

qmail time zone problem



I just converted a Debian(slink) box from sendmail to qmail.  After install,
it seems to be working fine, handling multiple domains, sending, selectively
relaying, and receiving.  My mail is then accessed sucucesfully via the U.
Washington imapd, cucipop, and local clients like pine.

The problem is the date on all received mail is effectively 8 hours in the
future.  Yes, I'm on US Pacific time which is 8 hours off of GMT.  If I view
the raw date header, it shows something like "Date: Wed, 04 Nov 1998
10:50:20 -0800".  This is either the correct time shown locally with an
incorrect 8 hour offset, or the incorrect time with a correc offset from
GMT.  This of course results in some email clients actually showing the time
8 hours in the future without any offset.

I looked at various tips on the qmail site, and tried the date822fmt.c patch
by John Saunders, but nothing seems to be tweaking it properly.

There was also a reference to the following:
'Some syslog library calls use the TZ variable to timestamp the messages.
qmail's env invocation strips out the whole environment, which causes the
timestamp to be incorrect. When this happens, use env -
PATH="/var/qmail/bin:$PATH" TZ=CST6CDT qmail-start ./Mailbox splogger qmail
to start qmail. '
but I'm not sure how this would work within the /etc/init.d/qmail on a
debian setup.

Any suggestions?

-Tupshin


Reply to: