I didn't have mail installed before, so I've did it using:
apt-get install mailutils
After that I've tried to send a mail with this command:
mail -s "Ssubjects" email@example.com
But I see just this error message:
cannot send message: Process exited with a non-zero status
anyway I can't understand what is the problem. Should I configure something?