[exim] Automatically add CC address to mail marked as spam

Top Page
Delete this message
Reply to this message
Author: Will Smith
Date:  
To: Exim-users List
Subject: [exim] Automatically add CC address to mail marked as spam
I want to tune the Bayesian filter by training it using sa-learn. To do
that I need emails that are valid and invalid. The way that I have it set
up now is that exim receives all emails for a specific domain. It then
scans using clam-av and spamassassin. It then sends the email off to a
corporate exchange box (via a transport rule).

What I am hoping to do, is have a rule that if an email is marked as spam
that it cc's it to a local delivery box (I will make something like
spam@???) and then I can run the sa-learn off of that box.

So, questions are:
Can I have adding a CC be part of a ACL rule when something is marked as
spam?
Is there a better way to do what I am looking for?
Maybe I should BCC all email to an account, and then I get the ham and
spam? Not sure.

Will--