Dear All
I am using mailx -s commnad in one of my unix script. But i am not able to get that mail on mail id that i had mention in commnad.
Kindly suggest me possible check where i can check for problem.
Thanks
Jaydeep
Dear All
I am using mailx -s commnad in one of my unix script. But i am not able to get that mail on mail id that i had mention in commnad.
Kindly suggest me possible check where i can check for problem.
Thanks
Jaydeep
You could check sendmail with the following:
/usr/lib/sendmail -bt -d0.1 < /dev/null
Check that DNS is working (sendmail uses DNS normally)
Check if you are logging mail commands (look at your /etc/syslog.conf file to see where they may be going). Check the file to see what errors you are getting (/var/adm/messages or possibly /var/*/sendmail).
Post any error you may get by testing mailx command from command line.
there is no message in var/adm.
Aslo there is not any error while execution mailx -s command.
Pleaese suggest.....
cat /etc/syslog.conf
/usr/lib/sendmail -bt -d0.1 < /dev/null
/usr/lib/sendmail -v neverfindit@hotmail.com
test from jaydeep
Ctrl-D