[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Urgent: Mail Relaying with no relaying Allowed :(



On Fri, 20 Jun 2003 Matthew.Overall@xxxxxxxxxxxxxx wrote:

> Many thanks Gerald (as ever)!
> I added under the auto cobalt bit:
>
> 217.199.176.53       550 Mail rejected due to possible SPAM
>
> Which works. Which is better?

  For a guy like this, I like having iptables stop him.
  waste less of your resources, stops him early, why
  let sendmail process his garbage.

iptables -A INPUT -p tcp -s ***.***.76.53 --dport 25 -j REJECT
or
iptables -A INPUT -p tcp -s ***.***.76.53 --dport 25 -j DROP
might be better, as he won't know what happened!

Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
  Front Street Networks LLC, 229 Front Street, Ste.#C
  New Haven, CT 06513-3203 | phone: +1-203-785-0699