You are not logged in.
I just need to mail a command's output to myself (my logged in user id). I tried
echo 'Hello?' | mail -s "Subject of mail" <my-login-id>
and I get
/usr/sbin/sendmail: No such file or directory
I installed mailx package but that didn't change anything.
Last edited by keerthi (2009-08-12 16:18:08)
Offline
You still need an MTA such as postfix, qmail, exim or sendmail installed. The mailx package only provides a basic MUA which expects to be able to hand off to the MTA which is responsible for delivery (either to another system, or a local mailbox).
MTA = Mail (Transport|Transfer) Agent
MUA = Mail User Agent
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
thanks for the pointer. though not very helpful it helped a bit.
Offline
though not very helpful it helped a bit.
This isn't Ubuntu, we point in the right direction, we don't hold hands and walk you all the way
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline