[Mailman-Users] Automatically create/add/remove
Jon Carnes
jonc at nc.rr.com
Sat Feb 15 05:12:09 CET 2003
This could be done any number of ways. I think the easiest would be to
script it. The key here is what sets off the script and where does it
get its information.
If you can have the "other" application do a dump of the necessary info
into some temp space then you could have a cron job trigger the
creation of the list and the addition of users. Even better would be to
have the "other" application call the script with the info on the
command line.
If the "other" application uses a local database, then it would be a
snap to setup and run.
For help on writing the script you should explore the Mailman command
lines that are available in ~mailman/bin/..
Let me know if you need any help (sounds like a fun project) - Jon
Carnes
On Fri, 2003-02-14 at 13:45, friedrich28 at gmx.de wrote:
> Hi there,
>
> I'd like to integrate mailman with another application running on the
> same server. It keeps track of some courses and their members.
>
> What I'd like to to is to add a mailing list with the same name as the
> course every time one of the admins creates a new course in the
> password protected admin interface. Whenever someone subscribes to
> this course, s/he should be added automatically to the list of
> subscribers on the corresponding list. When s/he is cancelled from the
> course, s/he should be removed.
>
> Is there a way to call the 'create' wrapper with parameters? There
> should be no user interaction necessary, the users shouldn't even
> notice that mailman is there and being used. Since creating a course is
> only possible in the password protected area, I don't want to ask them
> for a mailman admin password. I also can't use suEXEC.
>
> Thanks for you help,
> Friedrich
>
>
> ------------------------------------------------------
> 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