Operating System - HP-UX
1753792 Members
7320 Online
108799 Solutions
New Discussion юеВ

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

 
SOLVED
Go to solution
Tariq Hasan_1
Frequent Advisor

mailx: getipnodebyaddr (IPv6:::1) failed: 1

Hi

I am using a current and working sendmail.cf file, but when sending mail, I am getting the entry in mail log:

Jan 3 11:08:37 ******** sendmail[14462]: unable to qualify my own domain name (********) -- using short name
Jan 3 11:08:37 ******** sendmail[14462]: be sure to set domain name in Dj macro in sendmail.cf
Jan 3 11:08:37 ******** sendmail[14462]: getipnodebyaddr(IPv6:::1) failed: 1
Jan 3 11:08:37 ******** sendmail[14462]: l03B8b8d014462: to=an.other@x.y.uk, delay=00:00:00, mailer=relay, pri=0,
relay=mailhost, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
Jan 3 11:08:37 ******** sendmail[14462]: l03B8b8d014462: from=root, size=138, class=0, nrcpts=1, msgid=<200701031108.l03B8b

8d014462@********>, relay=root@localhost
Jan 3 11:08:37 ******** sendmail[14462]: l03B8b8d014462: to=an.other@x.y.uk, delay=00:00:00, mailer=relay, pri=30
138, dsn=4.4.3, stat=queued

where ******** is the hostname

Can you help?

Tariq
5 REPLIES 5
Peter Godron
Honored Contributor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

Tariq,
please address your feedback rating :0 points awarded to 24 answers !

You seem you be have found:
JAGaf96077
as http://docs.hp.com/en/5991-6610/ch01s09.html
Install a later version of sendmail or use the IPv4 addressing system.

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
Steven E. Protter
Exalted Contributor
Solution

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

Shalom Tariq,

DNS name lookup failed.

/etc/resolv.conf

Use dig or nslookup to make sure you are getting good answers.

By default, sendmail will try and lookup the hostname of the recipient and directly deliver the mail.

If this is not permitted by your firewall, you may need to use an smtp relay server on your local network.

The simple way of doing that is the DS directive in sendmail.conf
DShostnameofrelayserver

You will need to check with network administration to see what the policy is.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Wouter Jagers
Honored Contributor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

Can you resolve your own hostname both ways ? (name to IP and other way around)

Also, do you have an nsswitch.conf file ? If not, make one and make sure this line is in:

hosts: files [NOTFOUND=continue] dns

Then, put the mail server in your /etc/hosts file.

Still the same problem then ?
an engineer's aim in a discussion is not to persuade, but to clarify.
Peter Godron
Honored Contributor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

Tariq,
thanks for the feedback. As you have allocated max points and have indicated that you have received the answer to your question, can you now please:

1. Close the thread: http://forums1.itrc.hp.com/service/forums/helptips.do?#40

Please don't forget to summarise what you did to fix the problem, as this will be useful to other people with the same problem.

2. Review your other questions, such as:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1030241
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999102
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=975799
etc.
Tariq Hasan_1
Frequent Advisor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

Thanks

Putting in the nsswitch and resolv .conf files did the trick.