On 6/15/20 1:06 AM, florian.roe...@gmx.de wrote:
> On 6/11/20 12:11, Mark Sapiro wrote:
>> Mailman 2.1 has options to forward the DSN to the list owners when
>> delivery is disabled or when the score is incremented, but these are not
>> (yet) implemented in Mailman3.
> 
> Ah great! I am in fact still running 2.1. I wasn't able to find that option 
> in the web frontend but I did find it in the Defaults.py. So let's see if 
> that does anything.



The options you are looking for are in the web admin UI Bounce
processing section. The settings you want are
bounce_notify_owner_on_disable, and if your Mailman is 2.1.19 or newer,
bounce_notify_owner_on_bounce_increment.

The Defaults.py/mm_cfg.py settings
DEFAULT_BOUNCE_NOTIFY_OWNER_ON_BOUNCE_INCREMENT and
DEFAULT_BOUNCE_NOTIFY_OWNER_ON_DISABLE only set the default values for
now lists. Changes do not affect existing lists.


>> You could also do something similar by patching mailman/runners/lmtp.py
>> to send -bounces mail to -owner in addition or instead.
>> You could also modify the BounceProcessor.register method in
>> mailman/model/bounce.py to save the message somewhere.
> 
> I'll leave this open as a last resort in case I cannot convince qmail to do 
> as I want. Interesting to look into how the BounceProcessor is implemented. I 
> certainly learned a lot from this.


The above is only relevant to Mailman 3. For Mailman 2.1, the settings I
mentioned will do it.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to