Re: [Exim] ANNOUNCE: exiscan-acl-4.24-13

Página Inicial
Delete this message
Reply to this message
Autor: Chris Edwards
Data:  
Para: exim-users
Assunto: Re: [Exim] ANNOUNCE: exiscan-acl-4.24-13
On Fri, 24 Oct 2003, Tom Kistner wrote:

| This is backwards compatible, and hey, you can have 'timeout=5s' and
| 'error=ok' too if you like.


I take it "error=ok" would allow a "deny" statement to skip if is spamd
down, rather than causing the whole ACL to defer ?

This feature was on my wish list a while back.

However, we now happily fake the same result by only putting the spam
condition inside a warn statement. Unlike deny/accept, warn is skipped if
a condition defers. FWIW, it looks like:

# Always add spam score and report headers:

  warn    spam = nobody:true
     message = X-GLA-Spam-Score:  $spam_score ($spam_bar)\n\
            X-GLA-Spam-Report: $spam_report


[...]

# Reject if over 8.0

  deny    condition = ${if > {$spam_score_int}{80}{yes}{no}}
    message = This message scored $spam_score spam points
          ... <snip>



This way, mail delivery continues if spamd dies.

( not that it has yet :)