The following error appears in
/var/log/maillog after switching to Postfix:
2E2011A0A34 11962 Wed Aug 12 18:23:42 email@example.com
(temporary failure. Command output: /usr/sbin/sendmail.postfix: line 2: /usr/sbin/sendmail.postfix-bin: No such file or directory tee: /var/tmp/mail.send: Permission denied tee: standard output: Broken pipe tee: write error plesk sendmail: sendmail unsuccessfully finished with exitcode 127 4.2.1 Message can not be delivered at this time)
/usr/sbin/sendmail.postfix-wrapper script refers to
/usr/sbin/sendmail.postfix-bin , which is missing from the system.
postfixpackage from autoinstall.plesk.com suitable for the installed operating system version.
E.g. for CentOS 6 with Plesk 12.0:
- Extract the package without installing it:
for dpkg-based operating systems:
# dpkg -x postfix-2.8.17-14042513.x86_64 /directory/to/extract
where `/directory/to/extract` is a directory for extracting files
**for rpm-based** operating systems:
# rpm2cpio postfix-2.8.17-14042513.x86_64 | cpio -ivd /usr/sbin/sendmail.postfix
/usr/bin/sendmail.postfixand make it executable:
# mv /directory/to/extract/usr/bin/sendmail.postfix /usr/bin/sendmail.postfix-bin
# chmod +x /usr/bin/sendmail.postfix-bin
/directory/to/extractis the directory where files were extracted at step 2
/usr/sbin/sendmail.postfix file from a server with the same operating system and the same version of postfix package. Rename it to
/usr/sbin/sendmail.postfix-bin and set
execute permissions to it.