mailx: getipnodebyaddr (IPv6:::1) failed: 1 (1017 Views)
Reply
Frequent Advisor
Tariq Hasan_1
Posts: 51
Registered: ‎02-14-2002
Message 1 of 6 (1,017 Views)
Accepted Solution

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
Honored Contributor
Peter Godron
Posts: 4,470
Registered: ‎02-13-2002
Message 2 of 6 (1,017 Views)

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.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 3 of 6 (1,017 Views)

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
Honored Contributor
Wouter Jagers
Posts: 495
Registered: ‎10-01-2002
Message 4 of 6 (1,017 Views)

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.
Honored Contributor
Peter Godron
Posts: 4,470
Registered: ‎02-13-2002
Message 5 of 6 (1,017 Views)

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.
Frequent Advisor
Tariq Hasan_1
Posts: 51
Registered: ‎02-14-2002
Message 6 of 6 (1,017 Views)

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

Thanks

Putting in the nsswitch and resolv .conf files did the trick.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.