[Mailman-Users] global change of forward_auto_discards usingwithlist
chris.a.adams at state.or.us
Thu Dec 16 18:11:07 CET 2004
Thanks for your suggestions. I have been able to use withlist to make
this change to one list. However, when I try to run it on all lists, I
get the following error message.
./withlist -l -a -r autodiscard
Traceback (most recent call last):
File "./withlist", line 275, in ?
File "./withlist", line 247, in main
mod = __import__(module)
File "./autodiscard.py", line 4
SyntaxError: invalid syntax
Following is my autodiscard.py file:
m.forward_auto_discards = False
Can you point out an error in my syntax.
Mark Sapiro wrote:
>Christopher Adams wrote:
>>I would like to change all mly 500+ lists so that the
>>forward_auto_discards is set to 'No'. I assume that the best way to do
>>this is utilizing the 'withlist' utility. I have only used this utility
>>to change the URL for my lists.
>>Has anyone done this and could you give me some tips?
> mlist.archive = 0
> mlist.forward_auto_discards = 0
>and rename the script appropriately if you want.
>There's not much that can go wrong, but it's always a good idea to back
>up your lists/ directory before doing stuff like this.
>Mark Sapiro <msapiro at value.net> The highway is for gamblers,
>San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users