[Mailman-Users] disabling archiving for all lists

Ezra Taylor etaylor at amnh.org
Tue Dec 7 15:14:21 CET 2004




Jim Tittsler wrote:

>On Mon, Dec 06, 2004 at 10:02:42PM -0500, Ezra Taylor wrote:
>  
>
>>                  I would like to disable archiving for all list on my 
>>listserv.  Can I just change the parameter DEFAULT_ARCHIVE to 0 and then 
>>restart mailman for this to take effect system wide?
>>    
>>
>
>That will only set the default for newly created lists.
>
>  
>
>>If this is not possible, can I use withlist(how to create a
>>python to accomplish this).
>>    
>>
>
>Create noarchive.py:
>### noarchive.py
>def noarchive(mlist):
>    mlist.archive = 0
>    mlist.Save()
>###
>
>And then use bin/withlist to run it across all your lists:
>% bin/withlist -l -a -r noarchive
>
>(Note this doesn't keep a list owner from reenabling archiving.)
>
>  
>

Thanks Jim



More information about the Mailman-Users mailing list