Re: [Exim] Disable rDNS checking?

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: jasonr
CC: exim-users
Onderwerp: Re: [Exim] Disable rDNS checking?
On Tue, 26 Dec 2000 jasonr@??? wrote:

> this line currently reads:
> host_accept_relay = 127.0.0.1:mysql;MYSQL_RELAY:
> with MYSQL_RELAY:
> MYSQL_RELAY = SELECT ip FROM relay_ip WHERE ip="${sender_host_address}" AND DATE_SUB(NOW(), INTERVAL RELAY_TIMEOUT) < ts


That's your problem. You have asked Exim to do a host *name* lookup by
specifying the type "mysql". It doesn't know MySQL; it can't tell that
your query is actually using only the host address and not the name.
What you need to use is the lookup type "net-mysql" instead of just
"mysql". See section 7.13 ("Host Lists") in the current manual edition.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.