Autor: Jan Suchanek Data: Dla: exim-users Temat: [exim] Moving Spam to own folder
Hello,
I am using an exim SMTP server with SpamAssassin. SpamAssassin does it
work quite good so I want to move all message with a SPAM tag
(*****SPAM*****) to an special folder. I tied following:
router:
delspam:
condition = "${if match {$h_subject:}{^\*\*\*\*\*SPAM\*\*\*\*.*} {0}{1}}"
driver = accept
transport = rmspam
no_more
"failed to expand condition "${if match {$h_subject:}{^*****SPAM****.*}
{0}{1}}" for delspam router: regular expression error in
"^*****SPAM****.*": nothing to repeat at offset 1
What is wrong here?
The other question is: I am writing the SPAM Mails in a file but the
normal delivery works with lmtp. Is there a way to manipulate the
localpart so I can send the SPAM to an special Mail-Account?