On 02/21/2018 01:31 PM, Dang Tran wrote:
> Sorry, I meant from the command line to change (so I can script to change for 
> all lists).  Thanks very much.


Create a file in Mailman's bin/ directory named mung_from.py containing
the following 6 lines indented as shown:

def mung_from(mlist):
    if not mlist.Locked():
        mlist.Lock()
    mlist.dmarc_moderation_action = 1
    mlist.Save()
    mlist.Unlock()

Then run Mailman's

bin/withlist -a -r mung_from

The file name has a .py extension, the name in the -r option to withlist
does not

-- 
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
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

Reply via email to