Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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[]
    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[]
    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>, 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>, relay=[]: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([]: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>, 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

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    your system time is either 2 hours back or you are in the wrong timezone.

    Please compare the output of
    to your real time
    You must always face the curtain with a bow.

  3. #3
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    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.

  4. $spacer_open
  5. #4
    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?


  6. #5


    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts