Differences between revisions 9 and 10
Revision 9 as of 2012-01-04 19:44:36
Size: 3063
Editor: hm2k
Comment: added an additional note
Revision 10 as of 2012-01-04 19:44:37
Size: 3447
Editor: hm2k
Comment: Migrated to Confluence 4.0
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/14352613 #pragma page-filename DOC/versions/4030648
Line 3: Line 3:
Line 9: Line 10:
See the attached [[attachment:^members.c]] file for an example of a wrapper program that can be called by a PHP script to execute selected Mailman command-line commands. See the attached [[attachment:members.c|members.c]] file for an example of a wrapper program that can be called by a PHP script to execute selected Mailman command-line commands.
Line 15: Line 16:
If you want to automate the administration of your mailing lists with a command-line tool like "wget", you may want to search the archives of the mailman-users mailing list (see [[../How do I search the archives of the mailman-users mailing list?|How do I search the archives of the mailman-users mailing list?]]) for "wget". The canned Google search at [[http://tinyurl.com/2avuqv]] will look for all references to "wget" on the official archive site at python.org, and specific threads you may find useful may include If you want to automate the administration of your mailing lists with a command-line tool like "wget", you may want to search the archives of the mailman-users mailing list (see [[../How do I search the archives of the mailman-users mailing list?|How do I search the archives of the mailman-users mailing list?]]) for "wget". The canned Google search at [[http://tinyurl.com/2avuqv|http://tinyurl.com/2avuqv]] will look for all references to "wget" on the official archive site at python.org, and specific threads you may find useful may include
Line 17: Line 18:
 * [[http://mail.python.org/pipermail/mailman-users/2004-December/041504.html]],
 * [[http://mail.python.org/pipermail/mailman-users/2004-December/041213.html]],
 * [[http://mail.python.org/pipermail/mailman-users/2005-February/043075.html]],
 * [[http://mail.python.org/pipermail/mailman-users/2007-February/055719.html]], and
 * [[http://mail.python.org/pipermail/mailman-users/2006-March/050091.html]], among many others.
''Last changed on Thu May 31 07:30:00 2007 by'' Brad Knowles
<<Color2(Converted from the Mailman FAQ Wizard, col=#006400)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].
 * [[http://mail.python.org/pipermail/mailman-users/2004-December/041504.html|http://mail.python.org/pipermail/mailman-users/2004-December/041504.html]],
 * [[http://mail.python.org/pipermail/mailman-users/2004-December/041213.html|http://mail.python.org/pipermail/mailman-users/2004-December/041213.html]],
 * [[http://mail.python.org/pipermail/mailman-users/2005-February/043075.html|http://mail.python.org/pipermail/mailman-users/2005-February/043075.html]],
 * [[http://mail.python.org/pipermail/mailman-users/2007-February/055719.html|http://mail.python.org/pipermail/mailman-users/2007-February/055719.html]], and
 * [[http://mail.python.org/pipermail/mailman-users/2006-March/050091.html|http://mail.python.org/pipermail/mailman-users/2006-March/050091.html]], among many others.

''Last changed on Thu May 31 07:30:00 2007 by'' Brad Knowles<<BR>> Converted from the Mailman FAQ Wizard

This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].

6.19. How do I integrate Mailman with PHP, or any other web enabling technology?

Mailman is written in Python, but there are a number of command-line programs you can call to perform various functions. If your PHP (or whatever) system allows you to make system calls to other command-line programs, you can integrate the systems in that way.

If your PHP (or whatever) system is written in Python or has Python integration libraries, you may be able to achieve a more complete integration, but that is outside the scope of this FAQ, the mailman-users mailing list, etc....

See 4.09 Summary of the mailman bin commands for a list of Mailman command-line programs that can be called by other programs. You can also search the archives for other hints regarding command-line programs, the "withlist" tool, and techniques for integrating Mailman with other systems.

See the attached members.c file for an example of a wrapper program that can be called by a PHP script to execute selected Mailman command-line commands.

If you want to script the web interface so that you don't have to deal directly with the command-line programs themselves (or you are unable to do so), then see Additional web administration tools.

If you want to act on the moderation queue via the command-line, see How do I handle list moderation from the command-line?. If you wish to just manually delete messages that are in the hold queue, see 4.74 How do I manually remove held messages from the command-line?

If you want to automate the administration of your mailing lists with a command-line tool like "wget", you may want to search the archives of the mailman-users mailing list (see How do I search the archives of the mailman-users mailing list?) for "wget". The canned Google search at http://tinyurl.com/2avuqv will look for all references to "wget" on the official archive site at python.org, and specific threads you may find useful may include

Last changed on Thu May 31 07:30:00 2007 by Brad Knowles
Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

Additional note: You may be interested in the PHP Mailman library.

MailmanWiki: DOC/How do I integrate Mailman with PHP, or any other web enabling technology? (last edited 2017-03-22 17:17:20 by msapiro)