[Mailman-Users] create a new list (web interface) + qmailaliases

Jon Carnes jonc at nc.rr.com
Wed Jan 29 02:38:18 CET 2003


After sensing a change in the lists you could use the
~mailman/bin/list_lists command to look at each mailing list in each
domain (the command has a switch that lets you list lists by virtual
domains).

Jon Carnes

On Tue, 2003-01-28 at 18:43, Rodrigo Lagos wrote:
> Thats a good idea, the other bit here is that i need to create the .qmail 
> aliases based on domain, looking at the directory listing will not get me 
> the information of what domain this list belongs to.
> any other ideas?
> --rodrigo
> 
> 
> >
> >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
> 
> 
> _________________________________________________________________
> The new MSN 8: smart spam protection and 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