[script]MailmanConfig

This commit is contained in:
Mathieu Maret 2014-01-30 15:10:20 +01:00
parent 85f83a2226
commit c4f05dcfe2
1 changed files with 10 additions and 0 deletions

10
scripts/mailmanConfig.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
MAILMAN_HOME=/var/lib/mailman
MAIL_PREFIX=noel
export PATH=$MAILMAN_HOME/bin:$PATH
f=`mktemp`
echo max_message_size = 5000 > $f
for l in `list_lists --bare|grep $MAIL_PREFIX` ; do
config_list -i $f $l
done
rm $f