echo "This is the body."| mailx -s "mailx Test1" bhavanishekhar@gmail.com echo "test" | mailx -s "test_sub" bhavanishekhar@gmail.comWhen I tested with the above test message got the error saying as follows: postdrop: warning: unable to look up public/pickup: No such file or directory. There is no mail service is running you validate the same with the following: We have several options checking the processes list for the pattern 'mail'.
$ ps aux | grep mail |grep -v grep $or use other option is usually the mail service on Unix machine runs on port 25, so grep it from the network status.
$ netstat -nl|grep 25Already working but not working then how to debug that wheather it is working or not? My next choice is checking the service.
$ svcs | grep -i sendmail $ ps -ef |grep -i sendmailThanks for these valuable inputs from my mate Mangaleshwaran.
Keep osting us your experience on mailx or sendmail.
cheers!