The server is postfix, it is necessary from the console to send a message, do so:
sendmail -F "from console" user@domain.com
But actually he is waiting for input of the body of the letter that I do not like how he could pass the message body and the message header?! That I
revered and desired keys are not met.