On Sun, May 13, 2001 at 06:28:53PM +0200, Patrick Starrenburg wrote:
[snip]
> *Linux box*
> [root@linuxbox patrick]# date
> Sun May 13 17:02:55 GMT+2 2001 - Check

Yes.

> *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

Yes.

> 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.

qmail never changes the Date: header for mails. It only adds one for
locally-injected mails. If your sending MUA inserted a Date header,
that is the header the receiving MUA sees. If this is not true, either
one of the other mailsystems in the chain is misconfigured, or you are
doing something weird on your qmail machine.

Greetz, Peter.

Reply via email to