Rules for blocking Email from libero.it domain

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

 



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




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux