Comment 19 for bug 266588

Revision history for this message
Kink-users (kink-users) wrote :

Originator: NO

Since MM 2.1.10, the matches_p function has changed behaviour and hence
this handler has stopped working. This simple patch fixes that:

Index: SpamAssassin.py
===================================================================
--- SpamAssassin.py (revision 551)
+++ SpamAssassin.py (working copy)
@@ -78,7 +78,7 @@
     if MEMBER_BONUS != 0:
         for sender in msg.get_senders():
             if mlist.isMember(sender) or \
- matches_p(sender, mlist.accept_these_nonmembers):
+ matches_p(sender, mlist.accept_these_nonmembers,
mlist.internal_name()):
                 score -= MEMBER_BONUS
                 break