On 01/27/2014 04:06 PM, Will Yardley wrote:
> Looking at the code, I think I know the answer already, but is there any
> way (with Mailman 2.1.9) to send a notification to the list owner when a
> list is created, but do it in non-interactive mode?


See
<http://bazaar.launchpad.net/~mailman-coders/mailman/2.2/revision/999/bin/newlist#bin/newlist>
for a patch to newlist which adds a -a|--automate option to newlist to
do exactly what you want. Short of applying this patch, you might be
able to use Python's subprocess module to invoke newlist in a way that
you can capture and answer the prompt.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to