[Mailman-Users] Add new list through web

Tristan Roddis 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:

http://www.courtesan.com/sudo/

HTH,

-Tristan.

> -----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?
> 
> Thanks.
> Liu Yan
> 
> 1¨¥™©Ô±ê왨¥–+-1¨¥™©Ô±êì?a¢z+?m?ðÃ
> r?'¢¸?™¨¥™??-Šwèþf¢–f§ºÇ«




More information about the Mailman-Users mailing list