[Exim] Exim 4.14 / FreeBSD port. lsearch not working sudden…

Top Page
Delete this message
Reply to this message
Author: Suresh Ramasubramanian
Date:  
To: Exim Users
CC: sheldonh
Subject: [Exim] Exim 4.14 / FreeBSD port. lsearch not working suddenly?
Hi

I cvsup'd and updated my 4.12 to 4.14 - and suddenly couldn't lsearch
from a hostlist.

I had -

hostlist relay_from_hosts = lsearch:/usr/local/etc/exim/relay_from_hosts

where relay_from_hosts is just a list of straight IPs (not cidrs or
hostnames) one per line.

contents of this file -

::1
127.0.0.1
202.77.223.48

I at once got errors where it refused to relay for mails sent by
telneting to localhost:25 (and this broke mailman lists - I have mailman
set up to submit mail by talking to localhost:smtp right now).

Sample log entries - timestamps snipped

no host name found for IP address 61.11.79.22

H=localhost (frodo.hserus.net) [127.0.0.1]
F=<howtos-bounces+foo=example.com@???> rejected RCPT
<foo@???>: Relaying Denied

I had to change to specifying the addresses mailman would relay for in
my exim configure file itself -

hostlist relay_from_hosts = 127.0.0.1 : ::1 : 202.77.223.48

Then things came back to normal.

    srs