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" name@host.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?



Possible duplicate: mail: cannot send message: process exited with a non-zero status


sudo dpkg-reconfigure postfix

as proposed in the answer.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.