Send a mail over a linux shell

Installation:

Send messages using the mail-command To check If  postfix is installed and ready to work on your system, you can try:

Reconfiguration of postfix on Debian / Ubuntu:

Alternative sendmail