193558Re: clock problem and postfix behaviour
- Mar 1, 2006On Wed, Mar 01, 2006 at 12:58:45PM +0100, cbaegert@... wrote:
> Our mail server restarted with a clock set to 2003, although it's a brand newThe message arrival time is stored in the queue file, so when the clock
> server (and I supposed it was a brand new battery !)
> When I saw that, I hurried to set the clock to 2006. Then the mail server
> rejected all the messages it received but not delivered during the time it
> was set to 2003, with "status=expired, returned to sender"
moves forward significantly, messages may appear to be old.
Postfix never expires a message before a delivery attempt, expiration only
happens after a failed delivery attempt, so the expired messages all failed
to be delivered on the most recent delivery attempt.
> I'm wondering if I could have done something differently to avoid thisIf you run "postsuper -r ALL" before starting postfix, the timestamps
> problem, but I don't have the answer for now. Any idea ?
on all messages are reset when they are re-injected into the queue
via pickup. This is true for Postfix releases prior to version 2.3.
There is not an obvious solution for 2.3. History snippet from the
All delay logging now has sub-second resolution. This means
updating all code that reads or updates the records that
specify when mail arrived, and ensuring that mail submitted
with older Postfix versions produces sensible results.
Files: global/post_mail.c, global/mail_timeofday.[hc],
global/log_adhoc.c, postdrop/postdrop.c, pickup/pickup.c,
smtpd/smtpd.c, qmqpd/qmqpd.c, *qmgr/qmgr_message.c,
"postsuper -r" no longer resets the message arrival time,
because pickup(8) no longer overrides queue file time stamp
information. This can be a problem when mail "on hold" is
released after a long time.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- << Previous post in topic Next post in topic >>