[Mailman-Developers] PHP Wrappers?

Peter John Hartman peterjh at mennonot.net
Wed Nov 16 22:48:10 CET 2005


I'm finishing up a drupal module (in PHP) that wraps the CLI of mailman.
Everything works EXCEPT getting at the moderation bit.  And there is a bit
of duplication with the userbase, since the pickle file is a bit inaccessible
to anything outside Python.

There is an option in the script to use the MYSQL patch of fil and Kev Green,
which is quite a nice patch and hopefully will be in the next mailman release.
If you use this option, then full mailman functionality is available.

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/mlist/#dirlist

Peter

On Wed, 16 Nov 2005, slave at codegrunt.com wrote:

>> Hello.  How might one configure Mailman (version 2.1.6) list settings
>> using PHP scripts?
>
> The quick answer would be to not bother and wait until version 3 of Mailman which will use a MySQL backend and instead manipulate that directly (if I have been reading past discussions correctly).  Calling the existing Python code via PHP exec() calls is plain out yuck.
>
> =)
>
> Cheers
>
> http://industrial.org
>
>
>
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers at python.org
> http://mail.python.org/mailman/listinfo/mailman-developers
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/peterjh%40mennonot.net
>
> Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
>


More information about the Mailman-Developers mailing list