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

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
A: exim-users
Assumpte: Re: [Exim] allow relay from hosts contained in a file of subnets?
On 2004-08-09 Andrew Nelson <andrew__nelson@???> wrote:
> I'm trying to setup my Exim server to allow relaying from a large list of
> subnets stored in a text file. Sorry - i've check through the FAQa and
> this list and can't get it going.. The file contains lines like:


> 192.168.1.0/24
> 192.168.10.0/24
> 192.168.30.0/24
> 10.9.8.8/32


> 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


> Can anyone help?


http://www.exim.org/exim-html-4.40/doc/html/spec_10.html#SECT10.3

Or net-iplsearch.
           cu andreas