Re: [Exim] allow relay from hosts contained in a file of sub…

Top Page
Delete this message
Reply to this message
Author: Daniel Tiefnig
Date:  
To: exim-users
Subject: Re: [Exim] allow relay from hosts contained in a file of subnets?
Andrew Nelson wrote:
> I've tried the following hostlist lines but they only seem to work if
> I specify the actual IP, not the IPs with subnets
>
> hostlist relay_from_hosts = localhost : @mx_any :
> lsearch;/etc/mail/relay_hosts
> (OR) hostlist relay_from_hosts = localhost : @mx_any :
> net-lsearch;/etc/mail/relay_hosts


Try this:

hostlist relay_from_hosts = localhost : @mx_any : /etc/mail/relay_hosts


HTH,
daniel