[Mailman-Users] create mailinglist from commandline with parameters

Mark Sapiro mark at msapiro.net
Sat Jun 7 23:11:55 CEST 2008


David Hláik wrote:
> 
> I will create a new mailinglist with newlist -q option .
> Then i need to assing mail/news gateway configuration specifics
> (nntp_host,linked_newsgroup ...) to that mailinglist from command line
> also.
> 
> How can i do it?


bin/config_list


E.g., something along the lines of

#! /bin/sh
f=`mktmp`
cat <<EOF >$f
nntp_host = '...'
linked_newsgroup = '...'
EOF
bin/config_list -i $f listname
rm $f

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list