Author: Sergei Gerasenko Date: To: exim-users Subject: Re: [Exim] spamassassin but not system wide
> This is easy enough with procmail, but I don't see an easy way with > the exim .forward file. And I don't want to convert the entire
> .forward file (which is a lot longer than the one above) to procmail.
> Does anyone know how to get the above behaviour (not using spamassasin
> system wide, and allowing some mailing lists to go through without
> filtering to reduce overhead)?
Here's is my 2 cents. I doubt you can do that filter in one ".forward"
pass. Most probably you will have to add a director and transport in the
exim config file and only after the director has run, will you be able
to check all the relevant headers. That is, you would have to resubmit
the email to exim from the spamassassin wrapper script and then run the
new modified message through your forward file. This CAN be done for one user only
though. Hope this is of any use.