Patrick Bogen wrote: >On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> I've tried to put the >> "subject: .*\*SPAM\*.*" line into the bounce_matching_headers and it >> gave me an >> error , i try to translate it to english from hungarian. : "in the bounce >> matching headers box you must give a valid filter line, unless it will be >> ignored" > >What version of mailman are you running? 2.1.8 doesn't seem to do any >validation on this field- or, at least, that regex is valid in my >setup. Perhaps someone else knows more about where this error is >coming from?
I think Patrick is correct here, but what exactly did you put in bounce_matching headers. If it is exactly as above, it should be OK. Also, the '.*' is not really necessary at the beginning and end of the regexp since the regexp is found anywhere in the header, so you could use just subject: \*SPAM\* and it would be the same. You may not really want to use bounce_matching_headers since a match there will cause the message to be held and you may want to discard it. If you want it discarded, you have to use header_filter_rules. You may also find it easier to look at a different Spamassassin header such as the X-Spam-Flag: Yes header. See <http://docs.python.org/lib/re-syntax.html>. Also see <http://mail.python.org/pipermail/mailman-users/2006-July/052298.html> for a bit of general information about header_filter_rules. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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&file=faq01.027.htp