This is what I did (as per a few discussions on this website)
mail -s "hi" addressee@email.xyz < test.txt
Where text.txt has the message.
I checked to see if mail did exist and it does at /usr/bin/mail
What am I missing? Is there a daemon that must be running? Is there more to this?
I am running Ubuntu 11.10
sudo adduser your-user-here mail– Reinis Jan 28 '12 at 8:02your-user-here? The recipient, I am guessing? I'll try it out anyway. – drN Jan 28 '12 at 8:25your-user-hereis your username you have in your shell! You can see the username you use with before the @ sign in the shell, mine :marc-andre@T1500:$– Marc-André Appel Jan 28 '12 at 8:35idat the command line it will show you what groups you are in. Please add that to your question. Also what MTA are you using -postfixis the default one on ubuntu. If you dops -ef | grep postfixwhat is the output? – Hamish Downer Jan 28 '12 at 13:36sudo apt-get install postfix– drN Jan 28 '12 at 18:07