Re: defer
"Fajar A. Nugraha" <[email protected]>
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
Ken Lowther wrote:
>Every now and again, spamd or clamd will stop running. This will cause messages
>to be defered.
>
clamd : use http://mikecathey.com/code/clamdwatch/. Add in daemontools
if you wish.
or,
from exiscan-acl-spec.txt :
======
The spam condition will return DEFER if there is any error
while running the message through SpamAssassin. If you want to
treat DEFER as FAIL (to pass on to the next ACL statement
block), append '/defer_ok' to the right hand side of the spam
condition, like this:
/* ---------------
deny message = This message was classified as SPAM
spam = joe/defer_ok
---------------- */
======
If your version does not have defer_ok capability, and you don't want to
upgrade,
rewrite your ACL from deny to warn - deny, eg. something like this :
warn message = X-Spam-Score: $spam_score
condition = ${if <{$message_size}{80k}{1}{0}}
spam = nobody:true
condition = ${if >{$spam_score_int}{70}{1}{0}}
set acl_m0 = yes
deny message = This message was rejected because it is similar to spam
samples.\n \
$spam_report
condition = ${if def:acl_m0 {yes}{no}}
Regards,
Fajar