[Mailman-Users] compare lists setup
phirayam at fredhutch.org
Tue Mar 21 11:54:50 EDT 2017
I think that config_list is what you want:
config_list -o list1config list1
config_list -o list2config list2
diff list1config list2config
[root at lists ~]# config_list
Configure a list from a text file description.
Usage: config_list [options] listname
Configure the list by assigning each module-global variable in the
file to an attribute on the list object, then saving the list. The
named file is loaded with execfile() and must be legal Python code.
Any variable that isn't already an attribute of the list object is
ignored (a warning message is printed). See also the -c option.
A special variable named `mlist' is put into the globals during the
execfile, which is bound to the actual MailList object. This lets you
do all manner of bizarre thing to the list object, but BEWARE! Using
this can severely (and possibly irreparably) damage your mailing list!
Instead of configuring the list, print out a list's configuration
variables in a format suitable for input using this script. In this
way, you can easily capture the configuration settings for a
particular list and imprint those settings on another list. filename
is the file to output the settings to. If filename is `-', standard
out is used.
With this option, the modified list is not actually changed. Only
useful with -i.
Print the name of each attribute as it is being changed. Only useful
Print this help message and exit.
The options -o and -i are mutually exclusive.
One of -i or -o is required
Systems Engineer / 206.667.4856 / phirayam at fredhutch.org / Fred Hutch / Cures Start Here
CIT | Advancing IT and Data Services to Accelerate the Elimination of Disease
> -----Original Message-----
> From: Mailman-Users [mailto:mailman-users-
> bounces+phirayam=fredhutch.org at python.org] On Behalf Of jdd
> Sent: Monday, March 20, 2017 10:53 AM
> To: mailman-users at python.org
> Subject: [Mailman-Users] compare lists setup
> Hello :-)
> Gmail recipient anti spam filters get me mad.
> After some work, I have one list that reaches the gmail recipients, good!
> but I have an other list that get bounces. same server, same domain.
> I guess I forgot some setup on the other list
> comparing on the web interface is very difficult.
> is there a way to read these setups directly on the server in a config
> file where I could make a diff?
> Mailman-Users mailing list Mailman-Users at python.org
> Mailman FAQ: https://urldefense.proofpoint.com/v2/url?u=http-
> Security Policy: https://urldefense.proofpoint.com/v2/url?u=http-
> Searchable Archives: https://urldefense.proofpoint.com/v2/url?u=http-
> Unsubscribe: https://urldefense.proofpoint.com/v2/url?u=https-
More information about the Mailman-Users