File in /var/lib/mailman3/queue/bounces/
Hi,
in my local installation there is a file in /var/lib/mailman3/queue/bounces/ since a couple of days. Any hint how to get rid of it? 'mailman unshunt' doesn't do it, but also, it's in queue/bounces and now queue/shunt.
Andi
On 12/11/21 6:29 PM, Andreas Barth wrote:
in my local installation there is a file in /var/lib/mailman3/queue/bounces/ since a couple of days. Any hint how to get rid of it? 'mailman unshunt' doesn't do it, but also, it's in queue/bounces and now queue/shunt.
I suspect the issue is that bounce runner is not running. If you grep
Mailman's mailman.log for bounces
I suspect you will see that it has
died and not restarted. You may or may not find additional information
in the log as to why it died, but in any case restarting Mailman should
start everything again.
The master should restart it when it dies, but this is https://gitlab.com/mailman/mailman/-/issues/898 for which we don't have a satisfactory fix.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
- Mark Sapiro (mark@msapiro.net) [211212 05:41]:
On 12/11/21 6:29 PM, Andreas Barth wrote:
in my local installation there is a file in /var/lib/mailman3/queue/bounces/ since a couple of days. Any hint how to get rid of it? 'mailman unshunt' doesn't do it, but also, it's in queue/bounces and now queue/shunt.
I suspect the issue is that bounce runner is not running. If you grep Mailman's mailman.log for
bounces
I suspect you will see that it has died and not restarted. You may or may not find additional information in the log as to why it died, but in any case restarting Mailman should start everything again.
Thanks for your answer.
Actually I didn't find anything in the log, but according to ps the bounce runner is actually not running. A restart of mailman fixed the issue for me.
Andi
Just a note on the difference. The problem itself was fixed.
Andreas Barth writes:
Any hint how to get rid of [this file]? 'mailman unshunt' doesn't do it, it's in queue/bounces and not queue/shunt.
A *shunted* post is an *undistributed* post that raised an exception that Mailman doesn't know how to handle usefully, so instead of continuing normal processing it stuffs it into the "dead-end" shunt queue, which is processed by hand, not by Mailman. 'mailman unshunt' tells Mailman that it is "fixed" and ready to continue processing, and moves it back into the normal pipeline to be processed and sent.
A *bounced* post has been *sent* already, and the problem is at the receiver, not with the post as Mailman got it. Since it has been sent already, unshunt would do the wrong thing. Also, the bounce runner will do the right thing once it's restarted.
In fact, for "stuck files" in any queue except shunt, the first answer is "restart the corresponding runner". It is the presence of a file in the queue directory that triggers processing. If it stays stuck, then I guess you call Ghostbusters (us).
I should add this as a FAQ or the docs as "What is shunt?" but it's not obvious to me which is better, and if the docs, where. Comments welcome.
On 12/12/21 12:51 AM, Stephen J. Turnbull wrote:
I should add this as a FAQ or the docs as "What is shunt?" but it's not obvious to me which is better, and if the docs, where. Comments welcome.
Maybe add a subsection on queues to https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/runners/doc...
Or maybe something more in https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/commands/do...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Andreas Barth
-
Mark Sapiro
-
Stephen J. Turnbull