1752305 Members
4834 Online
108786 Solutions
New Discussion юеВ

sendmail error

 
SOLVED
Go to solution
Michael Schulte zur Sur
Honored Contributor

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
9 REPLIES 9
Ralf Puchner
Honored Contributor

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;; }
Michael Schulte zur Sur
Honored Contributor

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
Ralf Puchner
Honored Contributor

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;; }
Michael Schulte zur Sur
Honored Contributor

Re: sendmail error

Ralf,

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

Michael
Michael Schulte zur Sur
Honored Contributor

Re: sendmail error

Hi,

attached a sendmail output.

thanks,

Michael
Michael Schulte zur Sur
Honored Contributor

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
Ralf Puchner
Honored Contributor
Solution

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;; }
Michael Schulte zur Sur
Honored Contributor

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
Ralf Puchner
Honored Contributor

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;; }