Vishwanath,
add your domain name in the file /etc/mail/relay-domains
Restart ur sendmail daemon
It should work
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Manu
> Viswanathan
> Sent: Wednesday, April 05, 2000 10:42 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [LIH] sendmail host name lookup failure
>
>
> Hello all,
>
> I tried a few tests last night and here are the observations:
> ------------------------------------------------------------------------
> test # relay host nameserver result
> ------------------------------------------------------------------------
> 1 iisxox iisxox success
> 2 mantra mantra failure; deferred: host name lookup failure
> 3 mantra ip mantra failure; mail did not reach destination
> 4 iisxox mantra success
> 5 mantra iisxox failure; deferred: host name lookup failure
> ------------------------------------------------------------------------
> (iisxox is our company mail server; also a Linux box:)
>
> So, it looks like there's no problem with my config. sendmail is able to
> resolve names through my /etc/hosts and /etc/resolv.conf. However, it is
> unable to use the Mantra mail server to relay the queued mail. Looks
> like something broke at Mantra's end. But why is it that I can send mail
> through my mail client by pointing it to Mantra but not through my local
> sendmail? sendmail gurus please enlighten us! :-)
>
> Regards,
> Manu.
>
> "Ramasubramanian, Suresh" wrote:
> >
> > Hello
> >
> > I've been using DS 202.54.30.2 (vsnl Hyd) on my local sendmail
> for quite a
> > long time, and it has worked. I think the problem is with Mantraonline
> > itself (sounds more like bad DNS at your side rather than
> anything else).
> >
> > So, change to VSNL's DNS like I said and check if this works. If not,
> > contact their admin in Delhi - Vinod Sharma -
> [EMAIL PROTECTED] - he
> > may be able to help you out.
> >
> > Suresh Ramasubramanian | [EMAIL PROTECTED]
> >
> > > -----Original Message-----
> > > From: Kedar Patankar [SMTP:[EMAIL PROTECTED]]
> > > Sent: Tuesday, April 04, 2000 11:12 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [LIH] sendmail host name lookup failure
> > >
> > > Hi,
> > >
> > > > DS202.56.230.1, those mails are yet to reach their destinations! Any
> > > > thoughts anyone?
> > >
> > > This doesn't work, I dunno why. I had this same problem
> with DS, I
> > > was hoping that anything you give after the DS would be
> looked up using
> > > gethostbyname, which returns the IP address as a 32 bit quantity,
> > > irrespective of whether the input string is a domain name or
> IP address.
> > > So you have to give the symbolic name to DS. Would any sendmail
> > > gurus care to throw more light on this DS thing? I haven't
> had time to get
> > > into sendmail code and figure out what's happening.
> > > Now given that you are able to lookup
> del1.mantraonline.com, I am
> > > nearly clueless as to what exactly is preventing sendmail
> from doing the
> > > same. Is there any chance that MX records may cause any trouble here??
> > >
> > > Regards,
> > > Kedar.
>
> -----------------------------------------------------------------------
> For information on this and other Linux India mailing lists check out
> http://lists.linux-india.org/
>
-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH