[SA-exim] SA-Exim does only temprejects
Brian Lavender
brian at brie.com
Tue Mar 14 23:27:04 PST 2006
On Mon, Mar 06, 2006 at 11:42:19PM +0100, Johannes Walther wrote:
> Hello,
>
> today I activated SA-Exim within my Exim installation.
> But though it rejects spam, it doesn't really work.
>
> Versions are SA-Exim 4.2, SA 3.0.3
>
> If I get spam, it's only temporarily rejected, e.g.
> with
> Action: temporarily rejected message: score=17.5
> required=5.0 trigger=7.0
> while it should get devnulled. Debug log says
> SA: Debug3: expanded SAteergrube = 25.00
> SA: Debug3: expanded SAdevnull = 15.00
> SA: Debug3: expanded SApermreject = 9.00
> SA: Debug3: expanded SAtempreject = 7.00
> SA: Debug: SAEximRunCond expand returned: '1'
> SA: Debug3: did not find read GREYLIST_ISWHITE string
> in X-Spam-Status
>
>
> The other problem is if I get mail to postmaster it
> gets rejected although
> SAEximRejCond: ${if !eq {$h_X-SA-Do-Not-Rej:}{Yes}
> {1}{0}}
Is the above rule all on one line?
> is in sa-exim.conf
> and
> X-SA-Do-Not-Rej: Yes
> was set by Exim (checked by looking at the mail saved
> into SAtempreject/).
>
> I must have missed something, but what?
Hmm, it works for me in a slightly different situation.
I am doing the same for emails coming from a certain IP Address.
I am setting the header which comes out to be (copy and pasted from a
resulting incoming email).
X-SA-Do-Not-Rej: Yes
I have the rule in the file
/etc/exim4/conf.d/acl/20_exim4-config_whitelist_local_deny
### acl/20_exim4-config_whitelist_local_deny
#################################
[snip]
acl_whitelist_local_deny:
accept
hosts = ${if exists{CONFDIR/local_host_whitelist}\
{CONFDIR/local_host_whitelist}\
{}}
accept
senders = ${if exists{CONFDIR/local_sender_whitelist}\
{CONFDIR/local_sender_whitelist}\
{}}
warn message = X-SA-Do-Not-Rej: Yes
hosts = 199.237.6.86
In the file /etc/exim4/sa-exim.conf
SAEximRejCond: ${if !eq {$h_X-SA-Do-Not-Rej:}{Yes} {1}{0}}
And no rejects....
--
Brian Lavender
http://www.brie.com/brian/
More information about the SA-Exim
mailing list