Mark Sapiro wrote:

>Jeff Grossman wrote:
>>
>>Isn't that what bounce_you_are_disabled_warnings setting does?  After this
>>many times of sending a you are disabled e-mail, the user is unsubscribed.
>
>
>Exactly!


And in case it isn't clear, setting bounce_you_are_disabled_warnings to
zero for a list will cause an immediate unsubscribe when the bounce
threshold is reached.

But, note that there is a bug in Mailman 2.1.11, 2.1.12rc1 and
2.1.12rc2 but not in 2.1.12 and not in 2.1.10 and prior that causes
bounce processing to fail when bounce_you_are_disabled_warnings = 0.
The attached Bouncer.patch.txt will fix that.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

=== modified file 'Mailman/Bouncer.py'
--- Mailman/Bouncer.py  2008-06-20 19:47:28 +0000
+++ Mailman/Bouncer.py  2009-02-16 16:53:20 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -163,8 +163,10 @@
         # We've set/changed bounce info above.  We now need to tell the
         # MemberAdaptor to set/update it.  We do it here in case the
         # MemberAdaptor stores bounce info externally to the list object to
-        # be sure updated information is stored.
-        self.setBounceInfo(member, info)
+        # be sure updated information is stored, but we have to be sure the
+        # member wasn't removed.
+        if self.isMember(member):
+            self.setBounceInfo(member, info)
 
     def disableBouncingMember(self, member, info, msg):
         # Initialize their confirmation cookie.  If we do it when we get the

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Reply via email to