[EMAIL PROTECTED] wrote:
>
>What functionality would I lose if I just changed the code that processed the 
>info being delivered to "list-xyz-request"?  What if I changed, in /etc/alias, 
>"|mailman request list-xyz" to a "|my-code.pl list-xyz".


What's this my-code.pl stuff? Shouldn't that be my-code.py? ;)


>This code would simply determine if this was a subscribe or unsubscribe 
>request, and add_member or remove_member.   From what I can tell, if I run the 
>add_member or remove_member directly, there's no need for a user confirmation 
>or list-admin approval (right?)


The main problem with the above is SETGID doesn't work on scripts so
your script will run as the user:group that the MTA invoked it as.
Depending on the MTA and its configuration, this may not have
permission to successfully run Mailman's bin/add_members and
bin/remove_members.


>I guess if its not obviously a subscribe or unsubscribe, I could then do a 
>"|mailman request list-xyz" and see if the standard mailman machinery can 
>figure out the right response.
>
>What can of worms would I be opening if I went down this path?


Aside from the potential permissions issue, it should be OK as long as
the MTA allows it sufficient time to finish.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
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-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to