On Sat, Jul 07, 2001 at 11:34:18AM +0800, dwen wrote:
> i have a question regarding relaying under Sendmail.
> sample of /etc/mail/access has these lines :
> 
> Connect:1.2.3         REJECT
> Connect:1.2.3.4               OK (or RELAY)
> 
> now, how do i allow/deny certain subnet/s (eg. 192.168.0.0/25) ?
> i've tried 192.168.0.0/25 but its not working (but Ok w/ 192.168.0).

sendmail does not understand CIDR in the access file as it just does
a simple string match, say between "192.168.0.2" and "192.168.0".  If you
want a /25, you will have to list .1 up to .126.  Postfix, and maybe 
other MTA's, speak CIDR.

-- 

http://www.internet.org.ph                      
Philippine Internet Resources                   






_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to