Re: Setting Time on Mail Servers
In article <1161947379.021879.26710@i42g2000cwa.googlegroups. com>,
"flaifel" <flaifel@gmail.com> wrote:
> Hello All,
>
> Whats the best scenario to set the time on mail servers so emails have
> the right time when being sent??
That depends on the operating system and mail client software where the
message is created. Different systems use different mechanisms to set
the time zone. Generally speaking, it is the mail user agent (e.g. pine,
mailx, Outlook, Eudora, etc.) that creates the Date header. A mail
server program, such as sendmail, won't change an existing Date header
on mail unless specially configured to do so.
> i have in my /etc/TIMEZONE file "GMT-2 "
> when i issue the command date i get the following
>
> #date
> Fri Oct 27 13:06:54 GMT 2006
>
> The time is correct but what is this GMT in the date???
For some reason, the 'date' program you are using thinks you are in GMT.
Some implementations of 'date' will look for $TZ in your environment,
and if it is defined but null will use GMT.
Without knowing exactly what OS you are running and which implementation
of 'date' you're using, explaining exactly what is going on would be a
guessing game.
--
Now where did I hide that website...
|