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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tony Finch
Fecha:  
A: Chris Lightfoot
Cc: exim-users
Asunto: 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}}