I just tried your last syntax: /^X-Spam-Status:[.*](Yes|YES)/ REDIRECT [EMAIL PROTECTED]
It doesnt work, all mails are normally delivered. What can I do? Do you need more informations? This is my spamassassin conf: required_hits 5 report_safe 0 rewrite_header subject [SPAM] report_header 1 Mariusz Kruk wrote: > > On wto, 2008-10-21 at 05:38 -0700, mathiasadsl wrote: >> Ok, it's getting better now but all my emails are forwared to >> [EMAIL PROTECTED] >> Even those which are not tagged as [SPAM] >> I guess i have some troubles with the regular expression. >> Can you help me in the syntax issue? > > Well... strange. Because the pattern you specified should match only those > positively scored. (or having hit some rule with YES in name (I dunno if > there are any such rules)). > > /^X-Spam-Status:[.*](Yes|YES)/ REDIRECT [EMAIL PROTECTED] > > But it seems you're using pcre but declare it as "normal" regexp. (I > think pcre introduce the alternative notation with parentheses). > > -- > Kruk@ -\ | C++ PROGRAMMERS do it with private > members > }-> epsilon.eu.org | and public objects > http:// -/ | > | > > > -- View this message in context: http://www.nabble.com/Need-Help-For-Redirecting-SPAM-to-a-mailbox-tp20088706p20089850.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.