Solaris email problem

BillTr
BillTr used Ask the Experts™
on
Since our last server reboot we have been unable to send mail to internet addresses, but we can still send email to other users on the server. Is there a parm file somewhere that defines what addresses are recognized by the server for email?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017

Commented:
Which mailserver do you have sendmail. Postfix, etc.
Look at /var/log/maillog
Re you able to resolve any domain? nslookup -q=mx domainname or dig domainname mx

You may have defined a smart host that is no longer available.

Author

Commented:
The server name and IP address are returned
The IP address returned has a #53 on the end of it..  And the dig says address not found.

Would you know where the IP address in the NSlookup is stored on the server?

Author

Commented:
Okay, I did the dig wrong (rookie error). It does show a reasonable reply.

I'm using mailx... I try to send a msg from the command line... I don't get an error. The log file for my ID has content...but the mail never arrives.
Distinguished Expert 2017
Commented:
mailx is an email client that uses /usr/lib/sendmail.

Look in /var/log/maillog
ps -ef | grep sendmail
/etc/init.d/sendmail status
/usr/lib/sendmail -q

Author

Commented:
They say the "recycled" sendmail...it is working now.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial