[Mailman-Users] create a new list (web interface) + qmail aliases
Jon Carnes
jonc at nc.rr.com
Tue Jan 28 03:34:35 CET 2003
How about using a small script that is kicked off every 5 minutes via a
cron job?
Something like this (that looks at the last time the ~mailman/lists
directory was modified)...
LDT1=`ls -ld /usr/local/mailman/lists`
LDT2=`cat /usr/local/mailman/checklist LDT 2>/dev/null`
if [ "$LDT1" = "$LDT2" ]; then exit 0 ; fi
# if the listing for the ~mailman/lists directory
# hasn't changed then no lists have been created or deleted
insert your script commands here...
...
Good Luck - Jon Carnes
On Mon, 2003-01-27 at 20:23, Rodrigo Lagos wrote:
> Hi all,
> I have Mailman 2.1 installed running with qmail, i have been using the
> Mailman+qmail configuration for a while, but just now making the upgrade to
> MM 2.1.
> I was very happy to see the "create a new mailing list" in the admin page. I
> have it all working with virtual domains, and its great.
> I do have one question. Is there a way to use the create cgi to also kick
> off creation of .qmail aliases for that list, maybe from create.py? i have
> a small shell script that creates the aliases, but don't know how to kick
> off the script after the list has been created from the same process.
> Anyone done this ??
> ideas?
> thanks
> --rodrigo
>
>
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
>
> This message was sent to: jonc at nc.rr.com
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/jonc%40nc.rr.com
More information about the Mailman-Users
mailing list