mailman-update-exim-db: Allow extras file and permit multiple domains per listname
[hcoop/zz_old/misc/scripts.git] / listnew
CommitLineData
12fb4bd2 1#!/bin/sh -e
0fd9a980 2#
3# Make a new mailing list. Run as root on deleuze.
4#
5# Usage: listnew LISTNAME LISTDOMAIN USER RANDOM_PASSWORD
6
7BIN=/var/lib/mailman/bin
b85c4e3b 8DEFAULT_URL=https://lists.hcoop.net
0fd9a980 9
10sudo -u list $BIN/newlist $1@$2 $3@hcoop.net $4 </dev/null
12fb4bd2 11
b85c4e3b 12# By default, use our list admin website for the public interface.
13# This can be changed after the user has set up their mailMan
14# directive. We do this because the default is
15# http://lists.hcoop.net, without SSL, which makes list admin not work
16# at all.
17/afs/hcoop.net/common/etc/scripts/change-list-url $1 $DEFAULT_URL
12fb4bd2 18
b85c4e3b 19echo "Sucessfully created list $1"