HCoop
/
clinton
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add listnew script
[clinton/scripts.git]
/
listnew
diff --git a/listnew
b/listnew
new file mode 100755
(executable)
index 0000000..
d2672f2
--- /dev/null
+++ b/
listnew
@@ -0,0
+1,9
@@
+#!/bin/sh
+#
+# Make a new mailing list. Run as root on deleuze.
+#
+# Usage: listnew LISTNAME LISTDOMAIN USER RANDOM_PASSWORD
+
+BIN=/var/lib/mailman/bin
+
+sudo -u list $BIN/newlist $1@$2 $3@hcoop.net $4 </dev/null