Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Sundaram Ramasamy" <sun@percipia.com>
To: netfilter@lists.netfilter.org, harish.k@lntinfotech.com
Subject: Rules for blocking Email from libero.it domain
Date: Mon, 28 Oct 2002 09:04:51 -0500	[thread overview]
Message-ID: <006901c27e8a$fbde4630$8c01a8c0@sundaram> (raw)
In-Reply-To: OF4868D659.17C45E12-ON65256C60.003E4AD9-65256C60.004175C4@lntinfotech.com

Hi,

I want to block all incoming mail from the libero.it domain. I have NATed
mail server.

I set the following rules in my firewall, But still I am getting mails from
this domain.

Can you please help on this.?

#libero.it - 195.210.91.83
SIP=195.210.91.83
$IPT -A INPUT -s $SIP -j LOG --log-prefix="spam: "
$IPT -A INPUT -s $SIP -j DROP

$IPT -A INPUT -s $SIP -j LOG --log-prefix="spam: "
$IPT -A FORWARD -s $SIP -j DROP


[root@gw root]# dig libero.it

; <<>> DiG 9.2.0 <<>> libero.it
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8861
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;libero.it.                     IN      A

;; ANSWER SECTION:
libero.it.              86169   IN      A       195.210.91.83

;; AUTHORITY SECTION:
libero.it.              86169   IN      NS      ns2.libero.it.
libero.it.              86169   IN      NS      ns1.libero.it.

;; Query time: 4 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Oct 28 09:00:45 2002
;; MSG SIZE  rcvd: 79

-SR



  parent reply	other threads:[~2002-10-28 14:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 11:54 Loading Additional Modules harish.k
2002-10-28 12:34 ` Cedric Blancher
2002-10-28 13:34 ` hare ram
2002-10-28 14:04 ` Sundaram Ramasamy [this message]
2002-10-28 15:06   ` Rules for blocking Email from libero.it domain Antony Stone
2002-10-28 23:17     ` Andrew Smith
2002-10-29  8:50       ` Antony Stone
2002-10-29 10:40         ` Adam D. Barratt
2002-10-29 13:04           ` Antony Stone
2002-10-28 15:30   ` Danny Thuering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006901c27e8a$fbde4630$8c01a8c0@sundaram' \
    --to=sun@percipia.com \
    --cc=harish.k@lntinfotech.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox