I could not receive the mail sent from the unix server using 'mailx'

Hi All,

I have sent a mail to my gmail id using the below command.

echo " " | mailx -s "sub" myid@gmail.com

I didn't get any error notification. But still I didn't receive that mail still..

please help me to learn how to send mail to other provider (Yahoo/gmail) from unix server.

Thank you all in advance!!

  1. Is the sendmail running on the unix machine?
  2. Does the host has port open to send mails out?
  3. Are you able to resolve external domains(gmail.com)
  4. Tail the messsages on /var/log/messages if its linux