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 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.
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.)