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
transport:
rmspam:
driver = appendfile
file = /var/log/exim/spam/${local_part}_spam
the condition in the router returns:
"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?
Thank you!
Regards, Jan
--
Jan Suchanek
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/