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?
Mariusz Kruk wrote: > > On wto, 2008-10-21 at 04:58 -0700, mathiasadsl wrote: >> Hi all, >> >> I'm currently running a postfix server and spamassassin under Fedora Core >> 8. >> Everyhting is OK but i'd like to redirect tagged [SPAM] mails to a >> mailbox. >> >> I did the following: >> >> #Edit /etc/postfix/main.cf >> header_checks = regexp:/etc/postfix/header_checks >> >> #I Created /etc/postfix/header_checks and added this line: >> /^X-Spam-Status:[.*](Yes|YES)/ REDIRECT [EMAIL PROTECTED] >> >> >> Unfortunately, nothing happened, the target user still receive the mail >> and >> spam is not forwarded to the "garbadge" mail box. > > Are you sure that header checks are done _after_ the message has been > filtered thru SA? Where do you invoke SA? > -- > /\-\/\-\/\-\/\-\/\-\/\-\/\ The macro here has not been followed by the > \ [EMAIL PROTECTED] / required stuff, so I'm ignorig it.(TeX) > / http://epsilon.eu.org/ \ > \/-/\/-/\/-/\/-/\/-/\/-/\/ > > > -- View this message in context: http://www.nabble.com/Need-Help-For-Redirecting-SPAM-to-a-mailbox-tp20088706p20089289.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.