Hi Stephen, Really thanks for the comprehensive answer. In my situation I'm using following reg expression to catch spam.
X\-Spam\-Flag\: Yes.* Is it wrong? I have a separate server for spamassasin and not using an extension like you mentioned above. Thanks, Rumesh On Tue, Oct 8, 2013 at 8:11 PM, Stephen J. Turnbull <step...@xemacs.org>wrote: > Re@lබණ්ඩා™ writes: > > > I've detected something doubtful situation in mailman because it has > > released an email with spam flagged. > > Mailman doesn't know anything about spam or spam flags. Mailman's > native filtering uses regular expressions, and takes certain actions > based on matches to those regular expressions. In the case of use > with SpamAssassin, I would recommend setting Mailman to HOLD or > DISCARD when the expression > > ^X-Spam-Flag:\s*Yes > > matches. > > There is also an extension, not maintained by this project, which > calls SpamAssassin from Mailman, but I don't know how that works. It > may reject mail itself, or it may pass on the responsibility to the > filters as above. > > You need to tell us more about how spam filtering is configured on > your system. > > > -- Re@lBanda ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org