On Tue, 29 Aug 2000, Daniel Augusto Fernandes wrote:
> 
> I just want to make qmail work with my localtime. Will this make
> qmail-inject send messages with localtime 'Date:' header?
> 

Now that you've told us exactly what you want to do, we can answer your
question to your satisfaction. qmail-inject will insert its own Date:
header in UTC format if, and only if, there is no existing Date:
header in its input. You cannot tell qmail-inject to use any other
timezone, no matter how hard you push $TZ.

If you want to use localtime, then use /var/qmail/bin/datemail. It has
a similar interface to /var/qmail/bin/sendmail, and it will create a
Date: header using the local timezone if, and only if, there is no
existing Date: header in its input.

Received: headers generated by qmail programs will always be in UTC
unless you patch the source.

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"

Reply via email to