On Fri, Oct 24, 2008 at 02:31:32PM -0400, Ofer Inbar wrote: > Wietse Venema <[EMAIL PROTECTED]> wrote: > > There is no guarantee that mail goes from incoming->qmgr only once. > > Whenever the qmgr is restarted, mail goes back from active queue > > to incoming queue, so that it doesn't drown in a sea of deferred > > mail. > > I know that, it's another example I could've added to the list of > situations where remembering IDs seen in cleanup log messages can > get tripped up. Even so the list would not be exhaustive. The point > is, if qmgr logged where it got the message from, there'd be no need > to think of all these contingencies.
No, in this case the message does not go through cleanup twice. > > If your problem is a large incoming queue, then I suggest that you > > take the necessary step to find out why Postfix defers massive > [...] > > I'm not describing a specific problem in this email thread, just a > feature I occasionally wish for and why it could be useful. Yes, when > there's a large incoming queue, that's a problem that needs to be > solved, and I've run into this and solved it several times over the > years. However, it's exactly when working on solving such a problem > that log analysis & monitoring can be most useful, and the inability > to easily distinguish between log entries from messages coming from > incoming vs. deferred is a minor frustration. > > Obviously having qmgr add this bit of info to its log messages > wouldn't actually solve any underlying problems. But it could > help make it easier to solve them, or to monitor the progress > of a possible solution, or at least get a handle on the extent > of the problem when first noticing there's a problem. With a large incoming queue, the distribution of "delays=a/..." will have a peak reflecting the average time messages idle in the incoming queue, and periodic secondary spikes for deferred queue runs. At least half of the newly active messages will be from the incoming queue. -- Viktor. 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: <mailto:[EMAIL PROTECTED]> 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.