[Mailman-Users] Global Bounce Settings
Mark Sapiro
mark at msapiro.net
Tue Sep 24 11:06:34 EDT 2019
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
More information about the Mailman-Users
mailing list