Re: time error on qmail
Thanks for the replies from Martin Gignac and Timothy Mayo -- I see how now. But for mails sent for local it does not make sense to use GMT time stamp. Any way to let it use local time? BTW, I noted mailx and qmail's sendmail use GMT time while mails sent by pine uses local time. Is that all outgoing mails triger qmail-inject? (I checked pine man page but didn't get a clue) Zhiliang On Thu, 18 May 2000, Timothy L. Mayo wrote: Date: Thu, 18 May 2000 13:57:22 -0400 (EDT) From: Timothy L. Mayo [EMAIL PROTECTED] To: Zhiliang Hu [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: time error on qmail qmail ALWAYS uses UTC when recording dates in the mail headers it generates. That is what the '-' means. The difference between UTC and CDT is '-0500'. The time stamps are correct you are just misreading them. :)
Re: time error on qmail
Zhiliang Hu [EMAIL PROTECTED] wrote: Thanks for the replies from Martin Gignac and Timothy Mayo -- Did you not get my reply? I already answered your next question: I see how now. But for mails sent for local it does not make sense to use GMT time stamp. Any way to let it use local time? Use "datemail" instead of "sendmail". BTW, I noted mailx and qmail's sendmail use GMT time while mails sent by pine uses local time. Is that all outgoing mails triger qmail-inject? (I checked pine man page but didn't get a clue) Pine adds a Date field with a local timestamp. -Dave
time error on qmail
qmail has been working on my site for a while. Everything has been fine except - when a mail is trigerred by a CGI program, which is using the "sendmail" replacement provided by qmail, the time stamp on the qmail delivery lines are 5 hours ahead of actual time, ALTHOUGH the time generated by the CGI program itself is correct. (see below for an actual example; Note: time stamps on other mail deliveries are correct). Any hints? Zhiliang -- E x a m p l e --- s t a r t --- Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 8 invoked by uid 207); 18 May 2000 13:14:53 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 3643 invoked by uid 201); 18 May 2000 13:14:53 - Date: 18 May 2000 13:14:53 - Message-ID: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: New Ideas! ... o m i t t e d s o m e t e x t ... This is a web form originated mail. The submittion was made from kh420129-ans.ansci.iastate.edu (ip=129.186.213.166) on Thu May 18 08:14:53 CDT 2000 -- E x a m p l e e n d ---
Re: time error on qmail
I believe qmail headers use GMT, unlike sendmail which seems to use the local TZ. I don't how and if it's possible to change this, though. ___ | MARTIN GIGNAC| | Network Technician, | / ) | Hostmaster, Postmaster| / / | CINAR Corporation | ( ( | Email: [EMAIL PROTECTED] | (((\ \ |/ ) Phone: (514) 282-3691 | ( \_/ /_| \ / \_/ / / / / - Original Message - From: "Zhiliang Hu" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 18, 2000 1:09 PM Subject: time error on qmail qmail has been working on my site for a while. Everything has been fine except - when a mail is trigerred by a CGI program, which is using the "sendmail" replacement provided by qmail, the time stamp on the qmail delivery lines are 5 hours ahead of actual time, ALTHOUGH the time generated by the CGI program itself is correct. (see below for an actual example; Note: time stamps on other mail deliveries are correct). Any hints? Zhiliang -- E x a m p l e --- s t a r t --- Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 8 invoked by uid 207); 18 May 2000 13:14:53 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 3643 invoked by uid 201); 18 May 2000 13:14:53 - Date: 18 May 2000 13:14:53 - Message-ID: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: New Ideas! ... o m i t t e d s o m e t e x t ... This is a web form originated mail. The submittion was made from kh420129-ans.ansci.iastate.edu (ip=129.186.213.166) on Thu May 18 08:14:53 CDT 2000 -- E x a m p l e e n d ---
Re: time error on qmail
"Martin Gignac" [EMAIL PROTECTED] wrote: I believe qmail headers use GMT, unlike sendmail which seems to use the local TZ. I don't how and if it's possible to change this, though. You're right: it uses GMT. One fix is to use "datemail" instead of "sendmail". -Dave
Re: time error on qmail
qmail ALWAYS uses UTC when recording dates in the mail headers it generates. That is what the '-' means. The difference between UTC and CDT is '-0500'. The time stamps are correct you are just misreading them. :) On Thu, 18 May 2000, Zhiliang Hu wrote: qmail has been working on my site for a while. Everything has been fine except - when a mail is trigerred by a CGI program, which is using the "sendmail" replacement provided by qmail, the time stamp on the qmail delivery lines are 5 hours ahead of actual time, ALTHOUGH the time generated by the CGI program itself is correct. (see below for an actual example; Note: time stamps on other mail deliveries are correct). Any hints? Zhiliang -- E x a m p l e --- s t a r t --- Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 8 invoked by uid 207); 18 May 2000 13:14:53 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 3643 invoked by uid 201); 18 May 2000 13:14:53 - Date: 18 May 2000 13:14:53 - Message-ID: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: New Ideas! ... o m i t t e d s o m e t e x t ... This is a web form originated mail. The submittion was made from kh420129-ans.ansci.iastate.edu (ip=129.186.213.166) on Thu May 18 08:14:53 CDT 2000 -- E x a m p l e e n d --- - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax