-
postfix log time problem
Hi all
I have the following problem: in the line with postfix/smtp the time is with 2 hours back and i don't now why. Please help! Thanks
the log:
Feb 2 11:19:03 email postfix/smtpd[18318]: connect from xx.xx.xx.xx
Feb 2 11:19:03 email postfix/smtpd[18318]: 5AF5C117D2D: client=xx.xx.xx.xx, sasl_method=LOGIN, sasl_username=aaaa at aaaaa.aa
Feb 2 11:19:03 email postfix/cleanup[18323]: 5AF5C117D2D: message-id=<20100202091903.5AF5C117D2D at aaaaaaa.aa>
Feb 2 11:19:03 email postfix/qmgr[13940]: 5AF5C117D2D: from=<aaaa at aaaaa.aa>, size=63783, nrcpt=1 (queue active)
Feb 2 11:19:04 email postfix/smtpd[18500]: 512B1117D33: client=localhost.localdomain[127.0.0.1]
Feb 2 11:19:04 email postfix/cleanup[18323]: 512B1117D33: message-id=<20100202091903.5AF5C117D2D at aaaaa.aa>
Feb 2 11:19:04 email postfix/qmgr[13940]: 512B1117D33: from=<aaaa at aaaaa.aa>, size=64230, nrcpt=1 (queue active)
Feb 2 11:19:04 email postfix/smtpd[18500]: disconnect from localhost.localdomain[127.0.0.1]
Feb 2 11:19:04 email amavis[17853]: (17853-06) Passed CLEAN, MYNETS LOCAL [xx.xx.xx.xx] [xx.xx.xx.xx] <aaaa at aaaaa.aa> -> <bbbbb at bbbbbbbb.bb>, Message-ID: <20100202091903.5AF5C117D2D at aaaaaaaa.aa>, mail_id: e9SAnX6nBHtS, Hits: 2.095, size: 63782, queued_as: 512B1117D33, 907 ms
Feb 2 09:19:04 email postfix/smtp[18443]: 5AF5C117D2D: to=<bbbbb at bbbbbbbb.bb>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.31/0/0/0.91, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=17853-06, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 512B1117D33)
Feb 2 11:19:04 email postfix/qmgr[13940]: 5AF5C117D2D: removed
Feb 2 11:19:06 email postfix/smtpd[18318]: disconnect from xx.xx.xx.xx
Feb 2 11:19:10 email postfix/smtp[18328]: 512B1117D33: to=<bbbbbb at bbbbbbbbbbb.bb>, relay=rrrrr.rrrr.rrrr:25, delay=5.9, delays=0.11/0/5.1/0.71, dsn=2.0.0, status=sent (250 2.0.0 o129J4de029975 Message accepted for delivery)
Feb 2 11:19:10 email postfix/qmgr[13940]: 512B1117D33: removed
-
your system time is either 2 hours back or you are in the wrong timezone.
Please compare the output of
to your real time
-
Postfix wants its time zone info in /var/spool/postfix/etc/localtime. It should be a copy of /etc/localtime, or what that symlinks to. If /etc/localtime is a symlink, copy the actual file there, not the symlink. Postfix won't follow the symlink back out.
-
Thanks for your reply.
UPDATE: Solved. Created etc folder in /var/spool/postfix and copy localtim from /etc ... postfix restart and everything is ok.
My real time is ok. If you see only the line with postfix/smtp has the wrong time.
I checked /var/spool/postfix/etc/localtime, but ...etc folder not exist in /var/spool/postfix.
Any idea?
Thanks
-
Have you check the time zone setting of your Linux Box ?
You're running within a chroot. Make sure that whatever files your system uses to determine the TIMEZONE are below your chroot.