• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Mail form does not work: execve(/usr/lib/plesk-9.0/sendmail/sendmail.postfix) failed: No such file

Parallels_User

New Pleskian
Hello,
with the last update, I get this error in the mail log. I searched in the knowledge base, but I could not find something about it.

Greetings
Senergy
 
Looks like file /usr/sbin/sendmail.postfix is missing or replaced with a symbolic link.
  • Check the existence and permissions of the file /usr/sbin/sendmail.postfix:
# stat /usr/sbin/sendmail.postfix

File: `/usr/sbin/sendmail.postfix'
Size: 296112 Blocks: 584 IO Block: 4096 regular file

  • If file /usr/sbin/sendmail.postfix is replaced with a symbolik link, unlink it using the following command:

Centos:

# /usr/lib64/plesk-9.0/sendmail/sendmail.postfix

Debian:

# unlink /usr/lib/plesk-9.0/sendmail/sendmail.postfix

  • Download package, place file to the required location and set valid permissions:

Note: CentOS/RedHat/CloudLinux use *.rpg packages and rpm package manager.
Debian/Ubuntu use *.deb packages and dpkg package manager.
Use the appropriate tool for the corresponding operating system. In this guide, an example is provided for CentOS 6.x.

  • Take the /usr/lib/plesk-9.0/sendmail/sendmail.postfix file from a healthy Plesk server with same Plesk version and OS version and place it to the server with the issue.

    If another Plesk server is not available, go to the next step.

  • Find a software package to which file belongs to.

    Package name depends on the version of the operating system, e.g. for CentOS 6.x:

    # rpm -qf /usr/sbin/sendmail.postfix
    postfix-2.11.5-centos6.15081418.x86_64

  • Find required software package at autoinstall.plesk.com according to Plesk version and OS version on serverv (for example for Plesk 12.5.30 and CentOS 6.x package is located at Index of /PSA_12.5.30/dist-rpm-CentOS-6-x86_64/opt/maildrivers ).

  • Download software package, extract the sendmail.postfix file to the required location and set correct permissions, e.g. for Plesk 12.5.30 and CentOS 6.x:

    # wget http://autoinstall.plesk.com/PSA_12...rs/postfix-2.11.5-centos6.15081418.x86_64.rpm
    # rpm2cpio postfix-2.11.5-centos6.15081418.x86_64.rpm | cpio -iv --to-stdou ./usr/sbin/sendmail.postfix > ./usr/sbin/sendmail.postfix
    ./usr/sbin/sendmail.postfix
    27789 blocks
    # chown root:postdrop /usr/sbin/sendmail.postfix
    # chmod 0755 /usr/sbin/sendmail.postfix
 
Sorry, but there is no maildriver for Centos 7.5. What can I do?
For CentOS 7 it is vendor's package:

# rpm -qf /usr/sbin/sendmail.postfix
postfix-2.10.1-6.el7.x86_64

# rpm -qi postfix-2.10.1-6.el7.x86_64
Name : postfix
Epoch : 2
Version : 2.10.1
Release : 6.el7
Architecture: x86_64
Install Date: Thu 04 Oct 2018 05:18:03 AM NOVT
Group : System Environment/Daemons
Size : 12773475
License : IBM and GPLv2+
Signature : RSA/SHA256, Fri 04 Jul 2014 11:33:15 AM NOVT, Key ID 24c6a8a7f4a80eb5
Source RPM : postfix-2.10.1-6.el7.src.rpm
Build Date : Tue 10 Jun 2014 08:39:36 AM NOVT
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <My View - CentOS Bug Tracker>
Vendor : CentOS

URL : The Postfix Home Page
Summary : Postfix Mail Transport Agent

What is output of command:

# stat /usr/sbin/sendmail.postfix

on your server?
 
File: ‘/usr/sbin/sendmail.postfix’ -> ‘/usr/sbin/sendmail.postfix-wrapper’
Size: 34 Blocks: 0 IO Block: 4096 symbolic link
Device: fd00h/64768d Inode: 170722 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2016-04-18 21:30:29.092913047 +0200
Modify: 2016-04-18 21:30:29.092913047 +0200
Change: 2016-04-18 21:30:29.092913047 +0200
Birth: -
 
On my CentOS 7 server I see file there instead of symlink:

# ll /usr/sbin/sendmail.postfix
-rwxr-x--- 1 root postdrop 247848 Jun 10 2014 /usr/sbin/sendmail.postfix

# stat /usr/sbin/sendmail.postfix
File: ‘/usr/sbin/sendmail.postfix’
Size: 247848 Blocks: 488 IO Block: 4096 regular file
Device: 58h/88d Inode: 5913499 Links: 1
Access: (0750/-rwxr-x---) Uid: ( 0/ root) Gid: ( 90/postdrop)
Access: 2018-10-04 05:29:07.787529543 +0600
Modify: 2014-06-10 08:39:34.000000000 +0700
Change: 2018-10-04 05:26:02.291529643 +0600
Birth: -

Please correct this on your server with help of instruction provided above.
 
Back
Top