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

Top Pagina
Delete this message
Reply to this message
Auteur: Daniel Tiefnig
Datum:  
Aan: exim-users
Onderwerp: 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