Re: [exim] No Reverse DNS

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dean Brooks
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] No Reverse DNS
On Fri, Feb 29, 2008 at 03:18:17PM -0600, Matt wrote:
> > Yes, but not directly through the built-in "reverse_host_lookup" ACL
> > parameter since it does the forward check automatically.
> >
> > Here is the equivalent ACL you could use based upon your example:
> >
> >   defer
> >      !condition = ${lookup dnsdb{defer_never,ptr=$sender_host_address}{yes}}
> >      message    = Reverse DNS lookup failed for host $sender_host_address

>
> Unfortunately I get this.
>
> failed to expand ACL string "${lookup
> dnsdb{defer_never,ptr=$sender_host_address}{yes}}": lookup type
> "dnsdb" is not available (not in the binary - check buildtime LOOKUP
> configuration)


You'll need to recompile EXIM with the DNSDB lookup option enabled in
the Makefile:

LOOKUP_DNSDB=yes

If you installed from a distribution, I'm not sure what to tell you.

I'm not entirely sure why the DNSDB isn't enabled by default. I assume
that most people enable it during installation.

--
Dean Brooks
dean@???