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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Daniel Tiefnig
Päiväys:  
Vastaanottaja: exim-users
Aihe: 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