Sintz, James wrote:
>
>I understand the purpose of the confirmation, I just want the ability to turn 
>it off. It is okay if users get unsubscribed from my list because of a spooked 
>request. 
>

If you really want to do it, I think the attached patch will allow it.

Warning - this is untested, use at your own risk.

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

--- Mailman-2.1.6/Mailman/Commands/cmd_unsubscribe.py  2002-11-20 21:37:50
+++ mailman-mas/Mailman/Commands/cmd_unsubscribe.py     2005-07-27 13:36:35
@@ -69,19 +69,8 @@
             res.results.append(_("""\
 Your unsubscription request has been forwarded to the list administrator for
 approval."""))
-    elif password is None:
-        # No password was given, so we need to do a mailback confirmation
-        # instead of unsubscribing them here.
-        cpaddr = mlist.getMemberCPAddress(address)
-        mlist.ConfirmUnsubscription(cpaddr)
-        # We don't also need to send a confirmation to this command
-        res.respond = 0
     else:
-        # No admin approval is necessary, so we can just delete them if the
-        # passwords match.
-        oldpw = mlist.getMemberPassword(address)
-        if oldpw <> password:
-            res.results.append(_('You gave the wrong password'))
-            return STOP
+        # No admin approval is necessary, so we can just delete them
+        # Don't worry about the password
         mlist.ApprovedDeleteMember(address, 'mailcmd')
         res.results.append(_('Unsubscription request succeeded.'))
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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