On 08/05/13 00:47, Tanstaafl wrote: > On 2013-05-07 11:43 AM, J. Roeleveld <jo...@antarean.org> wrote: >> Tanstaafl<tansta...@libertytrek.org> wrote: >>> Ok, I've googled and can't figure this out... >>> >>> /etc/timezone is set to the correct timezone (EST5EDT) >>> >>> Date command says the server time is correct. >>> >>> Cron jobs run at the correct times. >>> >>> EMails generated by cron have a time one hour in the past. >>> >>> Looking at the email header shows the correct date/time stamps, but >>> since Thunderbird by default uses the date/time header set by the >>> client, it shows up as arriving an hour earlier than it actually did. >>> >>> Anyone? > >> Check the time in the headers of the email from the cronjob. It might >> be that this is caused by a different time (zone) of the mailserver >> or machine you are checking mail with. > > Nope. It is our mail server, here in our office... > > Also, I have rkhunter running on the same machine (job is in > /etc/cron.daily, instead of the root crontab), which generates its own > emails, and those have the correct time on them (header time matches > what is in the log). >
Try googling "email header analysis" and drop the headers on one of the sites for an analysis - helped me track down delays in a mailserver chain in the past, but I cant remember which one I used. BillK