On 11/04/06, Marten Lehmann <lehmann@???> wrote:
> Hello,
>
> > Only RCPT ACLs. In other situations there is either no current recipient
> > address (e.g. MAIL or HELO ACLs) or there ie more than one recipient
> > address (DATA ACL).
>
> well, I see. What I'm planning to do is the following: In a list for
> each recipient I allow on the mailserver is define if he
>
> - wants no spamcheck or
> - wants a spamcheck with subject-rewrite (prepending *SPAM* or so) or
> - wants the mail to be moved to his junk-holder within its maildir
>
> The latter one is solved within a transport and works fine. Now I need
> to solve the subject-rewrite way. As this must be done on a
> per-recipient basis and the check_data-ACL doesn't allow this, how else
> can I check for spam and rewrite the subject?
A very common pattern - the wiki can help you.
http://www.exim.org/eximwiki/ExiscanExamples
Look at the second last section - 'Having several scanning profiles
that customers can choose from'.
Peter
--
Peter Bowyer
Email: peter@???