From: Danny Thuering <danny@inm.de>
To: Sundaram Ramasamy <sun@percipia.com>, netfilter@lists.netfilter.org
Subject: Re: Rules for blocking Email from libero.it domain
Date: Mon, 28 Oct 2002 16:30:06 +0100 [thread overview]
Message-ID: <3DBD57FE.9050203@inm.de> (raw)
In-Reply-To: 006901c27e8a$fbde4630$8c01a8c0@sundaram
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
dig just tells you which servers will accept mail for libero.it:
; <<>> DiG 9.2.1 <<>> libero.it any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18016
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;libero.it. IN ANY
;; ANSWER SECTION:
libero.it. 86391 IN MX 10 smtp4.libero.it.
libero.it. 86391 IN MX 10 smtp5.libero.it.
libero.it. 86391 IN MX 10 smtp6.libero.it.
libero.it. 86391 IN NS ns1.libero.it.
libero.it. 86391 IN NS ns2.libero.it.
;; AUTHORITY SECTION:
libero.it. 86391 IN NS ns1.libero.it.
libero.it. 86391 IN NS ns2.libero.it.
;; ADDITIONAL SECTION:
smtp4.libero.it. 86391 IN A 193.70.192.54
smtp5.libero.it. 86391 IN A 193.70.192.55
smtp6.libero.it. 86391 IN A 193.70.192.59
;; Query time: 2 msec
;; SERVER: 195.20.81.60#53(195.20.81.60)
;; WHEN: Mon Oct 28 16:25:39 2002
;; MSG SIZE rcvd: 205
if all mail from libero.it is send over smtp[456] you can block them.
but it is much better if you use your sendmail (qmail,...) mailgateway
to deny all mail from libero.it.
bye
danny
Sundaram Ramasamy wrote:
| 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
|
|
- --
Linux xtc i686
~ 16:25:01 up 8 days, 22:12, 3 users, load average: 0.97, 0.93, 0.91
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9vVf9aZin/WSv/IARAkGgAKDCAdKGPwDawIKFrH7GcP+Pv+RRSgCfeDqR
3si2ob6GgGyinDSt91NbLV8=
=Wdmg
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2002-10-28 15:30 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 ` Rules for blocking Email from libero.it domain Sundaram Ramasamy
2002-10-28 15:06 ` 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 [this message]
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=3DBD57FE.9050203@inm.de \
--to=danny@inm.de \
--cc=danny@inm-magic.de \
--cc=netfilter@lists.netfilter.org \
--cc=sun@percipia.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.