[Mailman-Users] Global Bounce Settings
Peter Fraser
softwareinfojam at gmail.com
Tue Sep 24 12:45:31 EDT 2019
Fantastic. Worked perfectly. Thanks so much.
From: Mark Sapiro
Sent: Tuesday, September 24, 2019 10:07 AM
To: mailman-users at python.org
Subject: Re: [Mailman-Users] Global Bounce Settings
On 9/23/19 9:43 AM, Peter Fraser wrote:
> Hi All
> I was wondering, is there a way to globally set the “bounce score threshold” to 1.0 and the “bounce you are disabled warnings” to 0 for all my mailing lists. I shudder at having to go into all of them individually and set this. There are a lot. Thanks so much for any help received.
If you have shell access to the Mailman installation, there are multiple
ways to script this.
One way is to create a withlist script like
def set_bounce(mlist):
if not mlist.Locked():
mlist.Lock()
mlist.bounce_score_threshold = 1.0
mlist.bounce_you_are_disabled_warnings = 0
mlist.Save()
mlist.Unlock()
save it as set_bounce.py in Mailman's bin/ directory and run
bin/withlist -a -r set_bounce
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users at python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: https://mail.python.org/mailman/options/mailman-users/softwareinfojam%40gmail.com
More information about the Mailman-Users
mailing list