m4_define(<:SPAMLIMIT_USERV:>,
<:SPAMLIMIT_SET(<:${run {/usr/bin/timeout 5s \
- userv CONF_userv_opts \
+ /usr/bin/userv CONF_userv_opts \
SHQUOTE($1) exim-spam-limit \
SHQUOTE($4) \
SHQUOTE($2) SHQUOTE(@$3)} \
## If the client is trusted, or this is a new submission, don't
## bother with any of this. We will have verified the sender
## fairly aggressively before granting this level of trust.
- accept hosts = +trusted
+ accept hosts = CONF_relay_clients
accept condition = ${if eq{$acl_c_mode}{submission}}
## If all domains have disabled spam checking then don't check.
## All done.
accept
-SECTION(acl, data-spam)m4_dnl
+SECTION(acl, data-hooks)m4_dnl
## Do spam checking.
require acl = data_spam