Sendmail hanging / stuck in Ubuntu

I had this problem and the

This error happened to me because of there was the “Address already in use”. In my case I just restarted the VPS. In other cases is hanging waiting for a message. For this reason remember to put the body inside the mail command like this:

$ echo "Test mail from postfix" | mail -s "Test Postfix"

For other mail problems, take a look to /var/log/mail.log

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.