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

2006-05-25 Thread Tony Finch
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}{acc

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

2006-05-24 Thread Chris Lightfoot
On Wed, May 24, 2006 at 03:26:09PM +0100, Tony Finch wrote: > On Wed, 24 May 2006, Chris Lightfoot wrote: > > > > What I'd like in this case is for the verify = recpient > > condition to result in a failure with an appropriate value > > in $recipient_verify_failure or somewhere else that I can > >

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

2006-05-24 Thread Tony Finch
On Wed, 24 May 2006, Chris Lightfoot wrote: > > What I'd like in this case is for the verify = recpient > condition to result in a failure with an appropriate value > in $recipient_verify_failure or somewhere else that I can > test it. Is there a way to do this? There's a hacky way to do this usi

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

2006-05-24 Thread Chris Lightfoot
[ Apologies if this is a duplicate -- I wasn't on the list when I posted it earlier, and I think the first copy has been swallowed ] I want to write a recipient ACL in which a callout is made to test the deliverability of the recipient address and, (a) if the recipient is definitely deliv