[Mailman-Users] How can list admin unsubscribe user via email?

Jim Tittsler jwt at OnJapan.net
Fri Jul 2 10:13:52 CEST 2004


On Thu, Jun 24, 2004 at 08:58:10PM -0600, Rick Maddy wrote:
> I've tried sending the email as the admin to list-request at host.com with
> the command 'unsubscribe [admin password] address=user.to.remove'
> 
> This gives me a bad password email to the admin. I assume it is looking
> for the user's password, not the admin's password.

You could modify the process() function in
Mailman/Commands/cmd_unsubscribe.py so that it checks for the
administrator's password in addition to the user's password.
(You would also want to modify it so that errors are mailed
back to the administrator in that case.)

-- 
Jim Tittsler             http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship          http://Starship.Python.net/
Ringo MUG Tokyo          http://www.ringo.net/rss.html





More information about the Mailman-Users mailing list