Avatar of Thlware

asked on 

sendmail Deferred: Name server: mailhost: host name lookup failure

I ahave a problem with one of my servers the server was working fine all allong running sendmail with relay configured on it. When the server sever came up it could npot send or relay emails any more this the error i am getting this error when trying to send an email ....

 #echo test | mailx -v myname@so.insite.com

 Deferred: Name server: mailhost: host name lookup failure.

I can do nslookup for "mailhost" and i am getting the correct resolution i can also ping "mailhost".

My /etc/hosts file look like this see  below ...       localhost   mailhost mailhost.papa.za mailhost

On My sendmail.cf file the Smarthost is setup this way

Also my Daemon options are setup
O DaemonPortOptions=Name=MTA-v4, Family=inet
O DaemonPortOptions=Name=MTA-v6, Family=inet6
O DaemonPortOptions=Port=587, Name=MSA, M=E

What is possibley wrong with my setup preventing me to relay messages like i used too ooooH my sendmail configuration version is DZ8.12.10

Please advice
Unix OS

Avatar of undefined
Last Comment

8/22/2022 - Mon