f



Relaying Denied. IP name lookup failed

Hi everyone,
I have checked the sendmail faq for the answer and gone through almost
all the configuration options. But still the following error persist.
We have one departmental mail server mail.cse.mnit.ac.in which send
and receive mails to/from mail.mnit.ac.in which forwards to different
departments and outside world. We are able to send the mails from
mail.cse.mnit.ac.in within the domains controlled by mnit.ac.in but
still failing to send the mail outside (e.g. yahoo.co.in). I have
checked the access database at the relaying server mail.mnit.ac.in but
still the mail sent from user@cse.mnit.ac.in is sent back with failure
delivery the transcript is as follows :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The original message was received at Sat, 14 Feb 2004 14:17:00 +0530
from cse.mnit.ac.in [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<gaur_ms@yahoo.co.in>
    (reason: 550 5.7.1 <gaur_ms@yahoo.co.in>... Relaying denied. IP
name lookup failed [172.30.3.2])

   ----- Transcript of session follows -----
.... while talking to mail.mnit.ac.in.:
>>> DATA
<<< 550 5.7.1 <gaur_ms@yahoo.co.in>... Relaying denied. IP name lookup
failed [172.30.3.2]
550 5.1.1 <gaur_ms@yahoo.co.in>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)

    [ Part 2: "Delivery Status" ]

Reporting-MTA: dns; cse.mnit.ac.in
Received-From-MTA: DNS; cse.mnit.ac.in
Arrival-Date: Sat, 14 Feb 2004 14:17:00 +0530

Final-Recipient: RFC822; gaur_ms@yahoo.co.in
Action: failed
Status: 5.7.1
Remote-MTA: DNS; mail.mnit.ac.in
Diagnostic-Code: SMTP; 550 5.7.1 <gaur_ms@yahoo.co.in>... Relaying
denied. IP name lookup failed [172.30.3.2]
Last-Attempt-Date: Sat, 14 Feb 2004 14:17:01 +0530


    [ Part 3: "Included Message" ]

Date: Sat, 14 Feb 2004 14:17:00 +0530 (IST)
From: root <root@cse.mnit.ac.in>
To: gaur_ms@yahoo.co.in
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We are using sendmail-8.12.10-1.
Any help is most welcome.
TIA 
Gaur
0
gaurms (8)
2/14/2004 9:07:45 AM
comp.mail.sendmail 13518 articles. 1 followers. jfretby (35) is leader. Post Follow

2 Replies
1971 Views

Similar Articles

[PageSpeed] 15

karmath wrote:

> [...] We are able to send the mails from
> mail.cse.mnit.ac.in within the domains controlled by mnit.ac.in but
> still failing to send the mail outside (e.g. yahoo.co.in). I have
> checked the access database at the relaying server mail.mnit.ac.in but
> still the mail sent from user@cse.mnit.ac.in is sent back with failure
> delivery the transcript is as follows :

You probably currently have a line like this in your access table:
mnit.ac.in           RELAY

> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The original message was received at Sat, 14 Feb 2004 14:17:00 +0530
> from cse.mnit.ac.in [127.0.0.1]
> 
>    ----- The following addresses had permanent fatal errors -----
> <gaur_ms@yahoo.co.in>
>     (reason: 550 5.7.1 <gaur_ms@yahoo.co.in>... Relaying denied. IP
> name lookup failed [172.30.3.2])

As this message tells you, the IP 172.30.3.2 cannot be resolved to a 
hostname, and because of the access table entry above sendmail does not 
know that this IP has anything to do with the mnit.ac.in domain.

Add reverse entries to the DNS or/and add a line like this in your 
access table:

Connect:172.30         RELAY

Make sure your routers are spoofing protected.


-- 
Marco Senft
TTG - Technische Treuhand GmbH        http://www.t2g.ch/

0
m.senft (93)
2/14/2004 11:15:52 AM
> karmath wrote:
> 
> > [...] We are able to send the mails from
> > mail.cse.mnit.ac.in within the domains controlled by mnit.ac.in but
> > still failing to send the mail outside (e.g. yahoo.co.in). I have
> > checked the access database at the relaying server mail.mnit.ac.in but
> > still the mail sent from user@cse.mnit.ac.in is sent back with failure
> > delivery the transcript is as follows :
> 
> You probably currently have a line like this in your access table:
> mnit.ac.in           RELAY
> 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > The original message was received at Sat, 14 Feb 2004 14:17:00 +0530
> > from cse.mnit.ac.in [127.0.0.1]
> > 
> >    ----- The following addresses had permanent fatal errors -----
> > <gaur_ms@yahoo.co.in>
> >     (reason: 550 5.7.1 <gaur_ms@yahoo.co.in>... Relaying denied. IP
> > name lookup failed [172.30.3.2])
> 
> As this message tells you, the IP 172.30.3.2 cannot be resolved to a 
> hostname, and because of the access table entry above sendmail does not 
> know that this IP has anything to do with the mnit.ac.in domain.
> 
> Add reverse entries to the DNS or/and add a line like this in your 
> access table:
> 
> Connect:172.30         RELAY
> 
> Make sure your routers are spoofing protected.
Many thanks
It worked. Now I can send the mails outside and also within my
intranet subdomain. Now only problem remains is that, from outside
when a user send a mail (from user@yahoo.com) then it gets delivered
to main mailserver (mail.mnit.ac.in) and user@yahoo.com does not
receive any bounced back message but when MTA of mail.mnit.ac.in tries
to talk to mail.cse.mnit.ac.in, the MTA of mail.cse.mnit.ac.in seems
to refuse the connection ! What can possibly be problem here ?
Relay is working fine as I can send a mail from user@cse.mnit.ac.in
to/from user@mnit.ac.in.
Many thanks in advance
Gaur
0
gaurms (8)
2/16/2004 7:12:52 AM
Reply: