Comment 1 for bug 266847

Revision history for this message
Mark Sapiro (msapiro) wrote :

Spam filters are working as designed. Therefore, I am moving
this to feature requests because that's what it is.

For your implemention efforts, if you modify the end of the
process() function in SPAMDetect.py to read

                if action == mm_cfg.ACCEPT:
                    msgdata['approved'] = 1
                    return

That will make an ACCEPT rule match bypass all other holds
except emergency moderation. If you want to bypass emergency
moderation too, add also

                    msgdata['adminapproved'] = 1

See Mailman/Handlers/Approve.py

Note however that it is probably better to use a custom
handler for this as you then won't have to maintain a patch
across updates. See
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.067.htp