Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Noel Jones (njonesmegan.vbhcs.org)
Date: Fri Jun 15 2007 - 14:00:14 CDT
At 01:55 PM 6/15/2007, Vadim Pushkin wrote:
>My mynetworks looks like the following:
>mynetworks = 127.0.0.0/8, 192.168.1.0/24, 10.10.10.0/24, 10.10.20.0/24
>I have a machine, 192.168.1.100, which I would like to prevent from
>using my gateway. How can I write an ACL to prevent this, or a NOT
>statement to mynetworks?
you can use !192.168.1.100 as a NOT statement to remove the machine
from mynetworks. This would still allow that machine to send local
mail, but not relay to outside. Note that exceptions must be listed first.
mynetworks = !192.168.1.100 ... other entries...
If you need to block all mail from that machine, use a blacklist.