[Mailman-Users] Add new list through web
gzbigegg at 21cn.com
Sun Feb 6 18:05:41 CET 2000
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?
More information about the Mailman-Users