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 <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
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/archive%40jab.org