SMTP Service

Guys,

How can i check the mailx command will wor on my system or not.
The OS is Sun Solaris 5.10.

Or how can i come to know whether SMTP service is activated in Sun Solaris OS or not.

Thanks in Advance

smtp runs on tcp port 25, so you can telnet to it if it is open.

$ telnet localhost 25
telnet: Unable to connect to remote host: Connection refused
$

mailx should work if sendmail.conf was set up or made correctly. That is a heavy subject.