| |||||||||||||||||||||||||||||||
|
.vp >At 01:55 PM 6/15/2007, Vadim Pushkin wrote: >>Hello All; >> >>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. >smtpd_client_restrictions = > check_client_access cidr:client_blacklist > ># client_blacklist >192.168.1.100 REJECT > >-- >Noel Jones >
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com