Auteur: Paul Walsh Date: À: Exim Users (E-mail) Sujet: [Exim] SA and multiple recipients
We had an instance yesterday where a user sent a message addressed to a
large number of recipients and it appeared that for each delivery attempt,
SA was called to scan the message, gradually bringing the system to its
knees. Ideally I would like SA to only scan the message once, at the
earliest opportunity (i.e. before delivery attempts are made) and with
minimal impact on the system. Is this something that could be done via the
system filter?
As can be seen from the setup below, the protocol is set to "spam_checked"
once the message has been passed through SA, but am I right in assuming this
only applies to individual delivery attempts so the attempt to deliver to
recipient B has no knowledge of the fact that SA has already been run for
the delivery to recipient A?
Currently using SA 2.1 + Exim 3.35 under Solaris 7 on a Sun E150
#DIRECTOR
# Only scan messages where received protocol has not already been set to
spam_checked and where sender is not from
# one of our domains
spam_to_check:
driver = smartuser
transport = spam_scan
condition = ${if and { {!eq {$received_protocol} {spam_checked}} {!match
{$sender_address_domain} {uce\.ac\.uk}} } {1} {0} }