25 April 2012

debian - mail: command not found

On a new Amazon instance of Debian, I didn't have the "mail" command available. Installing postfix/exim4/qmail didn't help. The right package for this is "mailutils". In order to install it:
root@server# apt-get install mailutils

After that, the "mail" command should work fine:
root@server#mail No mail for root