[Mailman-Users] Add new list through web
tristan.roddis at nettec.net
Sun Feb 6 19:28:25 CET 2000
One way round this would be to allow the mailman user to run the newaliases
command as root by installing and configuring sudo:
> -----Original Message-----
> From: gzbigegg [SMTP:gzbigegg at 21cn.com]
> Sent: Sunday, February 06, 2000 5:06 PM
> To: Mailman-Users at python.org
> Subject: [Mailman-Users] Add new list through web
> hi all,
> I want to let the user add their own list through web interface, I set the
> user id who runs the apache web server to mailman, and re-write the
> 'newlist' function to create a new list using the parameters got from a
> web form.
> The 'newlist' function works, I found the new list's name under the lists
> directory. But my problem is how to append the new aliases to the
> '/etc/aliases' file, and run newaliases command. All these tasks need the
> root uid, which I cannot get as mailman user.
> I tried to chmod the /etc/aliases to the group writable or even world
> writable, but newaliases refuses to execute after then. Is there any work
> around to this problem? Or I have to add the new aliases mannually?
> Liu Yan
More information about the Mailman-Users