2008/11/21 WJCarpenter <[EMAIL PROTECTED]>:
> We use SpamAssassin for spam-scoring, and all local recipients have a
> threshold score, above which a message automatically gets filed into a
> spam folder.
>
> We are planning to implement a different threshold score, above which a
> message gets rejected at SMTP time.  For the case of multi-recipient
> messages, the SA score must exceed the maximum of all of the recipient
> reject thresholds for us to reject the message.  (A recipient that we
> don't host is considered to have a threshold of some impossibly high
> number since we have no way of knowing their preferences.)
>
> Our plan is to do all these lookups and arithmetic using $recipients in
> the DATA ACL after SA scanning.
>
> Does anyone see any problems with this approach?  TIA

The principle is good. You might find the implementation easier if you
calculate the high-water-mark reject score in the RCPT acl and pass it
through to the DATA acl in an acl_m variable.

Peter


-- 
Peter Bowyer
Email: [EMAIL PROTECTED]
Follow me on Twitter: twitter.com/peeebeee

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to