[Mailman-Users] compare lists setup
Hirayama, Pat
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
Options:
--inputfile filename
-i filename
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!
--outputfile filename
-o filename
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.
--checkonly
-c
With this option, the modified list is not actually changed. Only
useful with -i.
--verbose
-v
Print the name of each attribute as it is being changed. Only useful
with -i.
--help
-h
Print this help message and exit.
The options -o and -i are mutually exclusive.
One of -i or -o is required
----
-p
--
Pat Hirayama
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?
>
> thanks
> jdd
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__mail.python.org_mailman_listinfo_mailman-
> 2Dusers&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=lnQBMkNb1mBsioi6aP6ts4Sw0Ua5nVh
> 4esYOAh4qTKU&m=WxlwhOInW3PJh3_MqjRt1pvf7mVa5W2x1Kaar73VjUw&s=GW0lapInWnCgO_
> n5bfTAP7p0W4m3L0MyL_OoSuJqCas&e=
> Mailman FAQ: https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__wiki.list.org_x_AgA3&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=lnQBMkNb1mBsio
> i6aP6ts4Sw0Ua5nVh4esYOAh4qTKU&m=WxlwhOInW3PJh3_MqjRt1pvf7mVa5W2x1Kaar73VjUw
> &s=Uj6rRj8h-rxKR-PMyg-kA91_Np18W-NfaBJ0BSte4rs&e=
> Security Policy: https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__wiki.list.org_x_QIA9&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=lnQBMkNb1mBsio
> i6aP6ts4Sw0Ua5nVh4esYOAh4qTKU&m=WxlwhOInW3PJh3_MqjRt1pvf7mVa5W2x1Kaar73VjUw
> &s=xI7O1DkQtfX722dVADWdV3UUVufYUDWt9DQpvWfn5ow&e=
> Searchable Archives: https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.mail-2Darchive.com_mailman-2Dusers-
> 2540python.org_&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=lnQBMkNb1mBsioi6aP6ts4S
> w0Ua5nVh4esYOAh4qTKU&m=WxlwhOInW3PJh3_MqjRt1pvf7mVa5W2x1Kaar73VjUw&s=PfOEBS
> 2LfKZdRmJjbuWl0pjkVJkn_sGaTEIYsFwasRE&e=
> Unsubscribe: https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__mail.python.org_mailman_options_mailman-2Dusers_phirayam-
> 2540fredhutch.org&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=lnQBMkNb1mBsioi6aP6ts
> 4Sw0Ua5nVh4esYOAh4qTKU&m=WxlwhOInW3PJh3_MqjRt1pvf7mVa5W2x1Kaar73VjUw&s=he7b
> iG1QSVFTbfjX2BOlwYPvRF0HoRKpntjpux1bshc&e=
More information about the Mailman-Users
mailing list