Hi all,

I am using spamassassin with Exim.

I have a router in the middle of the Exim configuration as such:

spamcheck_router:
  driver = accept
  no_verify
  condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}\
  {spam-scanned}}} {1}{0}}"
  transport = spamcheck

When the mail is sent to the transport, and parsed by spamassassin, does the mail then get completely re-deilverd by Exim, or where does it get re-inserted into the exim process?


Hi,

Im not an expert in Exim but have recently spent a lot of time trying to understand a config which I believe is exactly the same as what you have here. The answer I believe is yes, it is sent via the spamcheck transport and following that it will be resubmitted (probably if its like my config) with a customer protocol. If you post your spamcheck protocol section I could double check. For example I have the spamcheck protocol with this command:
/usr/local/sbin/exim -oMr spam-scanned -bS
When the mail is scanned you will see it reappear in the exim mainlog as a new job with P=spam-scanned (as opposed to smtp/esmtp),

hope that helps,

Andy.



Reply via email to