Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Received Mail is out by 6 hours. Is there a way to fix this? 2

Status
Not open for further replies.

gohard

Vendor
Jan 15, 2002
43
CA
Hi,

I am running FreeBSD & Sendmail. If I pop mail from my server it reports that a message that I know was sent at 11:47 was received @ 5:47 which is a 6 hour difference.
However any mail that I send that is processed by sendmail, reports the right time. Just receiving it or it arriving at the sendmail server hwere it is reporting the wrong time.
Who knows how to fix it?

Thanks In Advance.

Jaye Carnahan
 
Ok, I have answered my own question.
With the BSD installations we have out there this is the first time I have encountered this issue, and it took a lot of digging but I figured it out.
Within sendmail.cf there is a line that says
# O TimeZoneSpec=
For whatever reason sendmail was using GMT for the reception of mail, rather than the BSD's time.
In order to alleviate this problem, you have to locate that line in sendmail.cf
and remove the comment "#"
Then choose your time zone which in my case is Mountain Standard Time (MST) the difference that it is out (6 hours) and the Daylight zone which is Mountain Daylight Time (MDT)
save your file, kill the sendmail process and restart it.
and your problems will be solved.

O TimeZoneSpec=MST6MDT



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top