Re: [exim] testing for availability of a host in RCPT ACL

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Chris Lightfoot
CC: exim-users
Subject: Re: [exim] testing for availability of a host in RCPT ACL
On Wed, 24 May 2006, Chris Lightfoot wrote:
>
> thanks for that -- will give this a go later. It has the
> unhappy property that it could do the callout twice, of
> course; in the common case (primary is up) I could
> presumably suppress that by adding
>
>       condition = ${if ne{DESTINATION}{accept} }


Yes, that would work. If you aren't using callouts for other purposes you
might consider removing the /nocaceh and reducing the callout cache
timeouts instead.

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