Test your linux mail configuration

Easiest way to test if you have configured your mailrelay in a proper way:

[root@nemo]#mailx -s "My Subject" yourmailaddress@yourdomain.com
type your body of your mail here...
. (dot on a single line to finish the mail and send it)
EOT
[root@nemo]#

You have mail!