On Fri, 25 Mar 2005, Angus Lees wrote:

> At Wed, 23 Mar 2005 17:26:02 -0700 (MST), Dennis M. Gray wrote:
> > I have set up a Postfix MTA with several virtual mail domains. So far in
> > the doucmentation I have not found a way to have mail sent by Postfix to
> > show a time that is different than that of the server, which is in
> > Arizona, USA. I would like virtual domain users to have their mail sent
> > with the correct time zone, i.e. +10 for Australia.
> 
> The Date header is added by the original MUA -- the MTA just passes it
> along, as it does all the other headers.
> 
> Its in a standard format and most MUAs will convert it to the local
> timezone when displaying.  If it doesn't, its not something you want
> to "fix" in the server.

In other words the solution is to make sure the MUA (Mail User Agent - aka 
email client software) has the correct timezone. If for example that's a 
web based mail client then it will have to have the correct timezone setup 
(not necessarily the same as the server itself). Try setting the TZ 
environment variable before launching the application (eg in the apache 
startup script if you want all websites in the same time zone). If it's 
only one virtual server then maybe you can use perl setenv in the 
virtualhost section or write a wrapper for the CGI, or set it in PHP or 
whatever - experimentation warranted.

 -- 
---<GRiP>---
** ROOM FOR RENT $120pw (neg) near Newington Shops 525/401 buses **
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG Secretary, AUUG and Linux Australia member, Sydney 
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music 
lover, Big kid that refuses to grow up. I'd make a good family pet, 
take me home today!
        Some people actually read these things it seems.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to