diff options
Diffstat (limited to 'mailman/mklist.inc')
-rw-r--r-- | mailman/mklist.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mailman/mklist.inc b/mailman/mklist.inc index 3219f66..f4dba3c 100644 --- a/mailman/mklist.inc +++ b/mailman/mklist.inc @@ -20,6 +20,7 @@ mklist() { list="$1"; shift type="$1"; shift desc="$1"; shift + senders="$1"; shift lang="${1:-$LISTLANG}" owner="${2:-$OWNER}" emailhost="${3:-$LISTDOMAIN}" @@ -28,7 +29,7 @@ mklist() { if ! echo "$existinglists" | grep -q "^$list\$"; then newlist -l "$lang"${urlhost:+ -u "$urlhost"}${emailhost:+ -e "$emailhost"} -q "$list" "$owner" "`gpw | head -n 1`" fi - LISTNAME="$list" LISTDESC="$desc" LISTOWNER="$owner" LISTHOST="$emailhost" "$sharedir/mklist.pl" "$skeldir/$type.$lang.py" > "$list.py" + LISTNAME="$list" LISTDESC="$desc" SENDERS="$senders" LISTOWNER="$owner" LISTHOST="$emailhost" "$sharedir/mklist.pl" "$skeldir/$type.$lang.py" > "$list.py" config_list -i "$cfgdir/$list.py" "$list" config_list -o "$cfgdir/$list.py" "$list" } |