You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Grant Peel <gp...@thenetnow.com> on 2010/06/08 18:27:37 UTC
Exim - Spamassassin
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?
I hope this is the right list for this question :-)
-G
Re: Exim - Spamassassin
Posted by a....@ukgrid.net.
> 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?
>
H
Re: Exim - Spamassassin
Posted by a....@ukgrid.net.
> 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.