Article ID: 124654, created on Feb 28, 2015, last review on Feb 28, 2015

  • Applies to:
  • Plesk 11.0 for Linux
  • Plesk 10.4 for Linux/Unix
  • Plesk 10.3 for Linux/Unix


I get the error sending messages:

sendmail returned error code 127


Sendmail is not linked properly or absent.


  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

Search Words

qmail won't work

sendmail returned error code 127

error 127

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

sendmail returned error code 126

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c f4ce8084cb23619ef5fe9428ecc388ea 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f e8756e9388aeca36710ac39e739b2b37

Email subscription for changes to this article
Save as PDF