[Mailman-Users] Setting max_message_size for selected list via withlist

Christopher Adams chris.a.adams at state.or.us
Thu May 19 00:58:12 CEST 2005


I would like to change the max_message_size for a group of lists. I plan to use withlist to do this. 
I have the withlist command below and can do it with all lists or 1 list but am unsure how to do it 
with a group of lists, whose names are currently in a text file. I probably could do it using a 
shell script or something, but I am guessing that withlist probably accepts files for input, but how?


###maxmessagesize.py
### determines maximum message size allowed to select lists
### useage: withlist -l -r maxmessagesize
def maxmessagesize(m):
     m.max_message_size = 500
     m.Save()
     m.Unlock()
-- 
Christopher Adams






More information about the Mailman-Users mailing list