Scott St. John wrote:
Until I can migrate my clients over to Postfix I have been using the access lists in Sendmail to block certain repeat spammers. I am wondering if I could just use iptables to block them and take the load off Sendmail?

My question would be 1)Is that practical 2)Is the proper way to block an entire network this:

iptables -A INPUT -s 209.8.161.0/24 -j DROP

I added this, however traffic from this network is still reaching my mail server. I want to block EVERYTHING from that network as they are sending porn mail to my clients.

Thanks,

-Scott

Scott,


this method will work, but if you want to block the entire network where the junk comes from then you'll have to block the entire netblock and not just that part of it.

iptables -A INPUT -s 209.0.0.0 -j DROP

This should definately take care of things.

--
Mark

"If necessity is the mother of invention, then who's the father?"
-----------------------------------------------------------
Paid for by Penguins against modern appliances(R)
Linux User Since 1996
Powered by Mandrake Linux 8.2 & 9.0
ICQ# 27816299


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to