[Exim] allow relay from hosts contained in a file of subnets…

Top Page
Delete this message
Reply to this message
Author: Andrew Nelson
Date:  
To: exim-users
Subject: [Exim] allow relay from hosts contained in a file of subnets?
Hi,

Thanks guys...

I've tried just listing the file, and using net-iplsearch (which my exim
doesn't understand).. I still get the same problem - it doesn't know
how to expand the subnets .. If I put straight IPs in the file with no
subnets - Exim finds a match..

Here's what i've tried:

hostlist relay_from_hosts = localhost : @mx_any : /etc/mail/relay_hosts
hostlist relay_from_hosts = localhost : @mx_any :
lsearch;/etc/mail/relay_hosts
hostlist relay_from_hosts = localhost : @mx_any :
net-lsearch;/etc/mail/relay_hosts
hostlist relay_from_hosts = localhost : @mx_any :
net-iplsearch;/etc/mail/relay_hosts

None of these allow 192.168.1.50 to relay, even though the
/etc/mail/relay_hosts
file contains "192.168.1.0/24".

Any ideas?

Thanks,
Andrew

_________________________________________________________________
In the market for a car? Buy, sell or browse at CarPoint:
http://server-au.imrworldwide.com/cgi-bin/b?cg=link&ci=ninemsn&tu=http://carpoint.ninemsn.com.au?refid=hotmail_tagline