I'm trying to get exim to either expand a list of entries from a text
file, or search them for an IP address match.
The problem is, that what exim looks for in the list changes, when you
go from explicit entries to an lsearch. For example, exim will match a
relaying host by IP address in the following list:
host_accept_relay = 127.0.0.1 : 64.133.125.16
But, if you change that to the entry below, it will *not* match. It
seems to do the lsearch based on hostname, not IP:
host_accept_relay = 127.0.0.1 : lsearch;/etc/exim/pop_users_to_relay
$ cat /etc/exim/pop_users_to_relay
64.133.125.16
How do I:
a) get exim to expand a list (/etc/exim/pop_users_to_relay) each time
a message is sent so that it's entries are treated not as a search,
but as entries specified explicitly as arguments to host_accept_relay
or
b) get exim to do it's lsearch and resultant matching based on IP address
Simply putting host names in this file is not an option as many IPs I
would want remote users to relay from don't resolve to hostnames that I
can collect.
-Brian
--
---------------------------------------------------
Brian Elliott Finley
http://baldguysoftware.com/
phone: 214.280.8188
http://systemimager.org/
---------------------------------------------------