There was an error sending your message: sendmail returned error code 127

Refers to:

  • Plesk 10.4 for Linux
  • Plesk 11.0 for Linux
  • Plesk 10.3 for Linux

Created:

2016-11-16 13:03:35 UTC

Modified:

2016-12-21 19:51:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

There was an error sending your message: sendmail returned error code 127

Symptoms

I get the error sending messages:

sendmail returned error code 127

Cause

Sendmail is not linked properly or absent.

Resolution

  1. Check the path to sendmail :

    # which sendmail    
    /usr/bin/which: no sendmail in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
  2. Create symlink to /etc/alternatives/mta :

    # ln -s /etc/alternatives/mta /usr/sbin/sendmail
Have more questions? Submit a request
Please sign in to leave a comment.