Webmail fails to send a message: execv(/usr/sbin/sendmail.postfix) : Failed to execute original sendmail utility directly: Permission denied [13]

Created:

2016-11-16 12:39:49 UTC

Modified:

2017-08-16 18:25:22 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Webmail fails to send a message: execv(/usr/sbin/sendmail.postfix) : Failed to execute original sendmail utility directly: Permission denied [13]

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

Sending a message from Horde webmail fails with the following message:

psa-sendmail[15624]: execv(/usr/sbin/sendmail.postfix): Failed to execute original sendmail utility directly: Permission denied [13]

Cause

Incorrect permissions on Postfix sendmail binary.

Resolution

Correct permissions for Postfix sendmail binary are listed below:

stat /usr/sbin/sendmail.postfix
File: `/usr/sbin/sendmail.postfix'
Size: 267272 Blocks: 528 IO Block: 4096 regular file
Device: a7h/167d Inode: 28840839 Links: 1
Access: (0750/-rwxr-x---) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-11-27 19:41:03.000000000 +0000
Modify: 2013-04-01 12:13:21.000000000 +0000
Change: 2014-01-28 19:49:50.013954051 +0000

Please apply them with chown and chmod commands in case if there are different permissions on your server:

# chown root:root /usr/sbin/sendmail.postfix # chmod 0750 /usr/sbin/sendmail.postfix

Set SUID bit on the following file:

# chmod 4555 /usr/lib64/plesk-9.0/postfix-sendmail-wrapper
Have more questions? Submit a request
Please sign in to leave a comment.