On 2008-02-28 at 19:54 -0600, Matt wrote:
> So pretty much this?
Almost, but not quite.
> # : no reverse dns
> defer !verify = reverse_host_lookup
> !hosts = net-lsearch;/etc/virtual/pophosts :
> /etc/virtual/relay_ips : 127.0.0.1
> message = Reverse DNS lookup failed for host $sender_host_address
!hosts before !verify
Section "40.18 Condition and modifier processing" of The Exim
Specification; the conditions are short-circuited and tried in order.
So you want to stop trying this defer if it's in one of the relay IPs,
then proceed to verify via reverse_host_lookup
-Phil