LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SMTP; 554 Refused. Your IP address is listed in the RBL at dyna.spamrats.com (http://www.linuxquestions.org/questions/linux-networking-3/smtp%3B-554-refused-your-ip-address-is-listed-in-the-rbl-at-dyna-spamrats-com-795691/)

data1986 03-16-2010 02:09 AM

SMTP; 554 Refused. Your IP address is listed in the RBL at dyna.spamrats.com
 
hello,
i have a REHL 5.4 server.i am trying to send mail to my company`s/yahoo account using
Code:

mailx -s "subject" user@company.com
I am getting a rebounce mail
Code:

Diagnostic-Code: SMTP; 554 Refused. Your IP address is listed in the RBL at dyna.spamrats.com
.

When visited the url dyna.spamrats.com,it stated that the reverse dns is not congigured and that is why it has put my ip in the blacklist.

how to remove my ip from the blacklist??????

thanx in advance for the help!!!!!!!

bathory 03-16-2010 03:10 AM

Hi,

According to the message you got, you should fix the reverse dns record (PTR) of your mail server. That means that your IP must resolve to a hostname.

Regards

data1986 03-16-2010 03:21 AM

actually i have register the ip with the free dns providing website https://www.dyndns.com.
how to check if the ip resolves hostname or not??

bathory 03-16-2010 03:28 AM

You can use this site, or from command line run:
Code:

dig -x x.x.x.x

data1986 03-16-2010 03:35 AM

WHAT DOES THIS MEAN?????

[/home/ora]dig -x 204.55.44.22

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> -x 204.55.44.22
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47262
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;22.44.55.204.in-addr.arpa. IN PTR

;; ANSWER SECTION:
22.44.55.204.in-addr.arpa. 76718 IN PTR 204.55.44.22.static.vsnl.net.in.

;; Query time: 33 msec
;; SERVER: 200.51.00.2#53(200.51.00.2)
;; WHEN: Tue Mar 16 13:55:55 2010
;; MSG SIZE rcvd: 95

bathory 03-16-2010 03:51 AM

Quote:

;; ANSWER SECTION:
22.44.55.204.in-addr.arpa. 76718 IN PTR 204.55.44.22.static.vsnl.net.in.
That means that your ip resolves to 204.55.44.22.static.vsnl.net.in. But only the name server at 200.51.00.2 can resolve it.
From my side, I cannot resolve that ip
Code:

dig -x 204.55.44.22

; <<>> DiG 9.7.0 <<>> -x 204.55.44.22
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 25795
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;22.44.55.204.in-addr.arpa.    IN      PTR

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Mar 16 10:46:26 2010
;; MSG SIZE  rcvd: 43

and of course the same goes for all other name servers.
You may ask your ISP, or whoever is responsible for your dns to fix it.

Regards

data1986 03-16-2010 04:30 AM

what should i tell my isp?

bathory 03-16-2010 05:16 AM

You ip address must be resolvable from the internet if you intend to run a mail server. Now only the name server at 200.51.00.2 can resolve it and that name server is not reachable from outside
Code:

dig -x 204.55.44.22 @200.51.00.2

; <<>> DiG 9.7.0 <<>> -x 204.55.44.22 @200.51.00.2
;; global options: +cmd
;; connection timed out; no servers could be reached

If 200.51.00.2 (is it your ISP dns server?) is authoritative for your subnet, you should describe them this situation.


All times are GMT -5. The time now is 08:00 PM.