mailx unable to send mails to outside world?

hi

on a solaris sparc 9 environmentmailx command is unable to send mails to the outside world. What could be the reason & needs to be checked?

thanks

[180 byte] By [K79a] at [2007-11-27 11:05:07]
# 1

what mailx commnad syntax you are using . mailx relie on sendmail to send mail outside the box

Regarsd

mtalhaa at 2007-7-29 13:06:31 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

sounds basic, but what's your entry of malhost in /etc/hosts pointing to? If it's not there, add the entry with the IP address of your SMTP host.

when sending test mail from mailx, have another window open thats tail-ing the contents of /var/log/syslog - that usually contains good info about sendmail.

another thing worth checking is the rules on your SMTP gateway. If this is a new host, it may need adding to the list of authorised relay list. Also check to see if the SMTP host is alowed to relay mail outside of its own domain too.

Rob_BWa at 2007-7-29 13:06:31 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...