1828859 Members
2487 Online
109985 Solutions
New Discussion

Sendmail error

 
uadm26
Super Advisor

Sendmail error

Hi,

That's the first time that I try to send a mail in this machine whith hp-ux 11i, and reports that error:

serverrp:/tmp/joel# cat joel | sendmail -v 89874@fidelidade.pt
fidelidade.pt: Name server timeout
89874@fidelidade.pt... Transient parse error -- message queued for future delivery
89874@fidelidade.pt... queued

I have the entry in /etc/hosts

172.xx.xx.xx fidelidade.pt

telnet fidelidade by port 25, it's fine

There's something wrong, any ideias?
5 REPLIES 5
Jeff Schussele
Honored Contributor

Re: Sendmail error

Hi Joel,

Sounds like a DNS problem. Run nslookup with no argument and set the server for your DNS server (get it from /etc/resolv.conf)

#nslookup
> server 111.222.111.222
>set type=MX
>fidelidade.pt

fidelidade.pt preference = 10, mail exchanger = mail.fidelidade.pt
Authoritative answers can be found from:
fidelidade.pt nameserver = ns2.ip.pt
fidelidade.pt nameserver = ns.ip.pt
mail.fidelidade.pt internet address = 194.79.65.149
ns.ip.pt internet address = 194.79.69.129
ns2.ip.pt internet address = 194.79.69.131

So either your internal DNS is not retrieving the MX record for fidelidade.pt or you're not getting to your internal smart relay system which should look that up. Sendmail will *not* send mail unless it can resolve the DNS MX record for the destination.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
uadm26
Super Advisor

Re: Sendmail error

Hi,

But i don't have a DNS server configured.
nslookup uses the /etc/hosts.

Rick Garland
Honored Contributor

Re: Sendmail error

Check the /etc/nsswitch.conf file to make sure you are looking at /etc/hosts file for lookups.
Gopi Sekar
Honored Contributor

Re: Sendmail error


please check router configuration, it can also be caused by invalid/non-existing router information.

also check /etc/resolv.conf (i am not sure of the path) which lists the name servers, ensure you do not have any non-working name servers listed there.

Hope this helps,
Gopi
Never Never Never Giveup
uadm26
Super Advisor

Re: Sendmail error

Thank's all of you, it's ok now...

Thanks Rick Garland, i know it, but you remember me.