1847195 Members
7110 Online
110263 Solutions
New Discussion

Re: timezone

 
A.G.M. Velthof
Valued Contributor

timezone

Hello all,

I have severall unix servers (10.20 and 11.0)
On all the servers I set the timezone to
MET-1METDST (Amsterdam).
When I mail from unix server to another unixserver the sent time is correct.
When I mail from unix to a Windows mailserver,
in one case the sent time is correct and from another unix server the sent time is suddenly 1 hour later.
Thanks in advance
8 REPLIES 8
Mark Greene_1
Honored Contributor

Re: timezone

is the time off on the message in the Windows mailserver, or is the the time on the message *from* the Windows mailserver? I.E., is it Unix or Windows that is not handling the time correctly?

mark
the future will be a lot like now, only later
A.G.M. Velthof
Valued Contributor

Re: timezone

It must be the unixserver.
A mail from one unixserver is handled correct and from another unixserver not.
Mark Greene_1
Honored Contributor

Re: timezone

Ok then, are both unix servers using the same MTA? I was under the impression that the mail was dated in GMT and then fixed into local time by the recipients' mailserver, but I may be mistaken about that.

mark
the future will be a lot like now, only later
A.G.M. Velthof
Valued Contributor

Re: timezone

The server that is correct is running 11i
and the wrong one runs 10.20, so I guess the sendmail version will be different.
John Carr_2
Honored Contributor

Re: timezone

Hi

check your versions

what /usr/sbin/sendmail

:-) John.
Robert-Jan Goossens
Honored Contributor

Re: timezone

Hi,

Could you check you sendmail.cf file on your 10.20 server.

# grep TimeZoneSpec /etc/mail/sendmail.cf

Regards,
Robert-Jan
A.G.M. Velthof
Valued Contributor

Re: timezone

It is:
0 TimeZoneSpec=
Bill Hassell
Honored Contributor

Re: timezone

Just a note about timezones. HP-UX always keeps time in GMT (Zulu or UTC, etc) and processes/daemons (ie, mailers) will 'see' time translated via rules in /etc/tztab using $TZ as the index into the table. So sendmail (mail, elm mailx, etc) will understand time based on the value of $TZ when the program was started. Since TZ is not explicitly called out in /sbin/init.d/sendmail, it is inheriting the default value which is shown in /etc/TIMEZONE.


Bill Hassell, sysadmin