[development] Re: [drupal-devel] mailman wrapper module

Peter John Hartman peterjh at mennonot.net
Wed Nov 9 17:18:09 UTC 2005

It can work however you want.  I recommend modifying /etc/sudoers
and allowing the web user the ability to run as mailman the various
CLI tools in the mailman/bin directory.  You can also just
add the web user into the mailman group, but I suspect this
is a touch dangerous.

But, in general, all that business is messy-ness behind the scenes--
and is just part and parcel of the mailman system.


On Tue, 8 Nov 2005, Gerhard Killesreiter wrote:

> Peter John Hartman wrote:
>>  There has been some interest in this project I'm working on on the #drupal
>>  channel, so I thought I'd also broadcast a little heads up over the
>>  mailing
>>  list.
>>  I'm finishing up a module that wraps the CLI of mailman.  It allows you to
>>  add, modify, and delete users and lists, and, as an added bonus, since it
>>  was developed for computer illiterates, there's a nicely designed
>>  Step-by-Step (EZ) mailing list creation ditty included as well.  The code
>>  is
>>  still imperfect, but it's shaping up.
> What I am wondering about is this:
> Drupal usually runs as the Apache user, that is wwwdata or similar. For 
> security reasons this user often has not a lot of rights. Mailman OTOH has 
> its own user which requires special rights mainly on the mailman files. If I 
> - for example - try to create a mailing list through the CLI, I always need 
> to make sure I have sufficient powers (become root, use su, or sudo). Why 
> does it work for you and not me? :p
> Cheers,
>    Gerhard
>>  Anyway, I know a couple of you are interested in this; and I'm also in
>>  contact with the mailman people about integrating xmlrpc and some mysql
>>  patches that might go along with this module. Right now it works off
>>  straight vanilla mailman, but there are some technical puzzles to work out
>>  with regards to their user management.
>>  Drop me a line if you are interested in what I'm doing. I've checked the
>>  thing in as "mlist" and wrote a little precis at
>>  http://drupal.org/node/36863.
>>  Cheers and keep up the good works, Peter

More information about the development mailing list