[PLUG] Blocking e-mail by IP (was Fwd: NEW WORM - Friendgreetings.com mass E-mailer)

Derek Loree derek at infotects.com
Fri Oct 25 21:25:39 UTC 2002


On Fri, 2002-10-25 at 14:01, Bill Thoen wrote:
> If I wanted to block all messages coming from 66.172.0.0 to
> 66.172.63.255 in my /etc/mail/access file without blocking
> 66.172.64.0 to 66.172.255.255, how would I do it? Adding just
> 66.172 blocks too much, but I don't want add lots of individual
> IPs either. Is there an allow/deny scheme for filter e-mail with
> the access file?

Seems like you should be able to block the network specified with a
netmask.  I believe (someone might check my math) that the netmask for
this is /18, so the address range that you want to block is
66.172.0.0/18 or written another way 66.172.0.0 255.255.192.0

HTH

Derek Loree






More information about the PLUG mailing list