On Tue, 28 Dec 2004, Marc Perkel wrote:
> I'm thinking about testing out your new snapshot. Can you send me an example
> of a sender verify ACL that:
>
> If the value of $sender_verify_failure is "recipient" - then I want to deny
> the connection.
>
> If the value of $sender_verify_failure is anything else - I want to do a warn.
I've briefly tested the following, but I haven't run it in production:
# Don't reject the message if the callout failure happens early
# (up to and including MAIL FROM); instead just log the failure.
deny
! verify = sender/callout=CALLTIME
! condition = ${if eq{mail}{$sender_verify_failure} }
warn
log_message = premature callout failure for $sender_address
condition = ${if eq{mail}{$sender_verify_failure} }
Tony.
--
<fanf@???> <dot@???>
http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}