著者: Nico Erfurth 日付: To: Suresh Ramasubramanian CC: Exim Users, sheldonh 題目: Re: [Exim] Exim 4.14 / FreeBSD port. lsearch not working suddenly?
Suresh Ramasubramanian wrote: > 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
^^^
HU? Should be ;
What you do here, is comparing the hostname agains lsearch and including
the relay_from_hosts file.
> where relay_from_hosts is just a list of straight IPs (not cidrs or
> hostnames) one per line.
>
> contents of this file -
>
> ::1 ^^^
You should embedd this in quotes > 127.0.0.1
> 202.77.223.48