simple mail example for smtp debug vim /etc/mail.rc head /etc/rc.local | mail -s "test_email" pyz_sub1@mailtest.com