Hello everyone,

Suppose I want the following ACL to verify sender except for certain
recipient addresses (as you might guess, those are spamtraps):

So I converted this acl (called from within acl_smtp_rcpt):

acl_nsvdom:
        accept condition = ${lookup {${lc:$sender_address_domain}}
partial1-lsearch {/etc/domeny/wildcard_whitelist_domains} {yes}{no}}
        require verify = sender/callout=120s,defer_ok
        control = no_callout_flush
        accept

to this:


acl_nsvdom:
        deny
                condition = ${lookup {${lc:$sender_address_domain}}
partial1-lsearch {/etc/domeny/wildcard_whitelist_domains} {no}{yes}}
                !recipients = +spamtrap_recipients
                !verify = sender/callout=120s,defer_ok
        accept

where

addresslist spamtrap_recipients = lsearch;/etc/domeny/spamtrap_addresses

is defined in the main section.

Yet, I am still getting 550:

ehlo o
250-da7.domeny.com Hello domeny.pl [87.204.147.140]
250-SIZE 31457280
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
mail from: [EMAIL PROTECTED]
250 OK
rcpt to: [EMAIL PROTECTED]
550-Verification failed for <[EMAIL PROTECTED]>
550-Unrouteable address
550 Sender verify failed


-- 
Marcin Król





-- 
## 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