On Wed, 26 Jul 2000, Thorkild Stray wrote:
> Normally, I just look it up and check a cdb for the host name. When exim
> fails to find the hostname from the IP, it bails out and tells me it won't
> relay. Is there any way I can control the key for a single-lookup like
> cdb? I want to control it, so that I may use the $sender_host_address (if
> that is available at this time? ) instead of the resolved host.
>
> I can fix the problem by stuffing all the IPs in a file and using
> something like this:
>
> host_accept_relay = /local/relay.ips : cdb;/local/relay.hosts
Investigate the net- lookup types, e.g.
net-cdb;/local/relay.hosts
Documented in the section on host lists.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.