From: William Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cron job email time off by one hour
Date: Wed, 08 May 2013 06:08:29 +0800 [thread overview]
Message-ID: <51897B5D.7090308@iinet.net.au> (raw)
In-Reply-To: <5189300E.9090204@libertytrek.org>
On 08/05/13 00:47, Tanstaafl wrote:
> On 2013-05-07 11:43 AM, J. Roeleveld <joost@antarean.org> wrote:
>> Tanstaafl<tanstaafl@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
next prev parent reply other threads:[~2013-05-07 22:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 14:31 [gentoo-user] Cron job email time off by one hour Tanstaafl
2013-05-07 14:42 ` Alan McKinnon
2013-05-07 15:01 ` Tanstaafl
2013-05-07 15:43 ` J. Roeleveld
2013-05-07 16:47 ` Tanstaafl
2013-05-07 22:08 ` William Kenworthy [this message]
2013-05-08 10:43 ` Tanstaafl
2013-05-08 6:52 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51897B5D.7090308@iinet.net.au \
--to=billk@iinet.net.au \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox