How can list admin unsubscribe user via email?
I need a way for a list admin or moderator to be able to unsubscribe a user from the list via an email interface. I don't want the user to get a confirmation page first, just the notice that they have been unsubscribed.
I'm sending this email from a Java program. I've tried sending the email from the person I'm trying to unsubscribe to list-unsubscribe@host.com - this results in the user getting the confirmation - not what I want.
I've tried sending the email as the admin to list-request@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.
I've read all the docs and FAQs and searched the archives but I can't find anything on this.
Help.
Rick
At 8:58 PM -0600 2004-06-24, Rick Maddy wrote:
I'm sending this email from a Java program. I've tried sending the email from the person I'm trying to unsubscribe to list-unsubscribe@host.com - this results in the user getting the confirmation - not what I want.
As one idea, you could turn off confirmations for the list.
-- Brad Knowles, brad.knowles@skynet.be
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania.
SAGE member since 1995. See http://www.sage.org/ for more info.
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@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
Brad Knowles schrieb:
I'm sending this email from a Java program. I've tried sending the email from the person I'm trying to unsubscribe to list-unsubscribe@host.com - this results in the user getting the confirmation - not what I want.
As one idea, you could turn off confirmations for the list.
Not a good idea, as anyone can unsubscribe (and subscribe ...) people then.
-thh
At 11:38 AM +0200 2004-07-02, Thomas Hochstein wrote:
I'm sending this email from a Java program. I've tried sending the email from the person I'm trying to unsubscribe to list-unsubscribe@host.com - this results in the user getting the confirmation - not what I want.
As one idea, you could turn off confirmations for the list.
Not a good idea, as anyone can unsubscribe (and subscribe ...) people then.
I didn't claim it was the best solution, or even a good one.
This is something that the person implementing the solution would
need to decide whether to take the risk or not.
-- Brad Knowles, brad.knowles@skynet.be
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania.
SAGE member since 1995. See http://www.sage.org/ for more info.
participants (4)
-
Brad Knowles
-
Jim Tittsler
-
Rick Maddy
-
Thomas Hochstein