Re: sendmail error (11 Views)
Reply
Honored Contributor
Michael Schulte zur Sur
Posts: 4,040
Registered: ‎06-18-2003
Message 1 of 10 (11 Views)
Accepted Solution

sendmail error

Hi,

does anyone know the cause of this?
Jan 10 18:00:01 fri10d sendmail[212025]: j0AH01D211850: SYSERR(root): getmxrr: r
es_search (dhl.com) failed with impossible h_errno (0)

os 5.1b pk3

thanks,

Michael
Please use plain text.
Honored Contributor
Ralf Puchner
Posts: 1,657
Registered: ‎04-22-2003
Message 2 of 10 (11 Views)

Re: sendmail error

The version doesn't say anything about the used sendmail version... ;-)

I've seen the h_errno (0) error message if using a selfcompiled sendmail version which isn't threadsafe.

The given errormessage indicates a problem in resolving the mailserver for domain dhl.com. So check dns setup.
Help() { FirstReadManual(urgently); Go_to_it;; }
Please use plain text.
Honored Contributor
Michael Schulte zur Sur
Posts: 4,040
Registered: ‎06-18-2003
Message 3 of 10 (11 Views)

Re: sendmail error

Ralf,

thanks for answering.Version is 8.11.1, original os version. dns is not used. resolution is by hosts.
seen following additional message.

Michael

Jan 11 13:20:01 fri10d sendmail[306634]: j0BCK1m306684: SYSERR(root): getmxrr: r
es_search (dhl.com) failed with impossible h_errno (0)
Jan 11 13:20:01 fri10d sendmail[306634]: j0BCK1m306684: to=xxxxx.xxxxxx@dhl.com,
xxxxxx.xxxxxxx@dhl.com,xxxxxx.xxxxxxxxxx@dhl.com, ctladdr=root (0/1), delay=00:
00:00, xdelay=00:00:00, mailer=smtp, pri=192163, relay=dhl.com, dsn=4.0.0, stat=
Operating system error
Please use plain text.
Honored Contributor
Ralf Puchner
Posts: 1,657
Registered: ‎04-22-2003
Message 4 of 10 (11 Views)

Re: sendmail error

yes but the mx record is necessary to detect mailserver, have a look to the function getmxrr() which do the job.

So how should that work using /etc/hosts?

Btw. thank for delivering some spam addresses - think about it ;-)
Help() { FirstReadManual(urgently); Go_to_it;; }
Please use plain text.
Honored Contributor
Michael Schulte zur Sur
Posts: 4,040
Registered: ‎06-18-2003
Message 5 of 10 (11 Views)

Re: sendmail error

Ralf,

it is strange that another machine in that subnet with the same os/pk works without dns.

Michael
Please use plain text.
Honored Contributor
Michael Schulte zur Sur
Posts: 4,040
Registered: ‎06-18-2003
Message 6 of 10 (11 Views)

Re: sendmail error

Hi,

attached a sendmail output.

thanks,

Michael
Please use plain text.
Honored Contributor
Michael Schulte zur Sur
Posts: 4,040
Registered: ‎06-18-2003
Message 7 of 10 (11 Views)

Re: sendmail error

Ralf,

it seems you were right after all with the dns hint. So if you want the points, leave another post!

thanks,

Michael
Please use plain text.
Honored Contributor
Ralf Puchner
Posts: 1,657
Registered: ‎04-22-2003
Message 8 of 10 (11 Views)

Re: sendmail error

Michael,

sometimes it is important to interpret error messages and getmxrr() was the indication that some dns issues are involved here ;-)

Help() { FirstReadManual(urgently); Go_to_it;; }
Please use plain text.
Honored Contributor
Michael Schulte zur Sur
Posts: 4,040
Registered: ‎06-18-2003
Message 9 of 10 (11 Views)

Re: sendmail error

Ralf,

thanks for your time.
I have looked for a manual page and also with google but I would not have linked getmxrr to dns. How do you know that?

thanks,

Michael
Please use plain text.
Honored Contributor
Ralf Puchner
Posts: 1,657
Registered: ‎04-22-2003
Message 10 of 10 (11 Views)

Re: sendmail error

Michael,

sendmail logs contains always the function call failed. So in your case getmxrr. If you know that bind contains setup informations e.g. mx-host which is required for mail delivery it is as simple as adding numbers to get the right direction.

Btw. if you have ever used man-pages or done any troubleshooting you should know how function names are built on unix systems
Help() { FirstReadManual(urgently); Go_to_it;; }
Please use plain text.
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