Dear All
OK, sigh... I was hoping to avoid the "religious OS wars" and I intend to
stick to the facts, I hope everyone else can also. I need to give you some
further details on the setup. Also I have done a further test and I still
see a problem with qmail.
I have a network (for purposes of this test we only need to worry about two
machines) Linux box running Redhat 7.1 and W2K box (with a hamster named
bill inside furiously running a spinning wheel to power the OS. Occasionaly
I chuck in a used Emacs manual for him to chew on).
Anyway... jokes aside - as far as I, and all the documentation I read, can
see both machines are correctly configured for local time as GMT + TZ
offset. I am in western Europe which is GMT +1 hour, at the moment (as it is
summer and for once the sun is shining in Holland) with daylight saving it
is GMT +02:00. So...
*Linux box*
[root@linuxbox patrick]# date
Sun May 13 17:02:55 GMT+2 2001 - Check
*W2K box*
C:\>date
The current date is: Sun 13/05/2001 - European date format naturally
C:\>time
The current time is: 17:03:13.83
System TZ settings
GMT+01:00 (with Daylight Saving +1hour) = GMT+02:00 - Check
Onto the test email... I created the mail on the W2K box, forget about the
MUA used that is irrelevant. Just note that it correctly inserts the Date:
field with GMT +0200 TZ offset. To simplify things I bounced the email off
my ISP's SMTP server back to my e-mail account on the Linux box. Now here is
the problem - firstly see that the ISP's server also uses +0200 local time
TZ offset with same time as box my MUA is on *but* when it is picked up by
qmail's SMTP daemon that timestamps it as 18:56:24 -0000. IF it was going to
use -0000 (GMT) THEN it should have changed time to 14:56:24 -0000 which is
16:56:24 *minus* the extra two hours TZ offset for my location. Instead it
has *added* two hours, then called it GMT, then when my MUA picks it up and
looks at the **Received:** field in GMT format it *correctly* converts it to
my local time of GMT +0200 and displays it to me as being received as 20:56
hours. Which, by the way, hasn't arrived yet! Thats how the 4 hours time
difference comes about.
Strange... if there is something wrong with my logic or setup of my Linux
box then please tell me (nicely, no flaming of OS's) but it seems pretty
straightforward to me. I remember something in the previous thread on this
topic in the list archive about a qmail program called "datemail" is this
meant to fix this problem and how does use it in conjunction with the qmail,
smtpd & pop3d daemons. My setup was done using qmail-conf.
Regards
Patrick
=================================
*Test email*
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 6078 invoked from network); 13 May 2001 **18:56:24** -0000
[[[ Where does 18: come from ??]]]
Received: from unknown (HELO amsmta03-svc.chello.nl) (213.46.240.7)
by xxx.homeip.net with SMTP; 13 May 2001 **18:56:24** -0000
Received: from w2kbox by amsmta03-svc.chello.nl
(InterMail vK.4.03.02.00 201-232-124) with SMTP id
<20010513145513.IXEE12765.amsmta03-svc@w2kbox>
for <[EMAIL PROTECTED]>;
Sun, 13 May 2001 16:55:13 +0200
Reply-To: <[EMAIL PROTECTED]>
From: "Patrick Starrenburg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Test 16:55
Date: Sun, 13 May 2001 16:55:43 +0200
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.