• 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

PLESK 10.3.1 - HORDE - sendmail returned error code 127

MehdiZ

New Pleskian
Hello,
I am under PLESK 10.3.1 and since a few days I can not send e-mail from my server after checking the log (psa-horde.log) I always find the same error:

HORDE [error] [imp] sendmail returned error code 127 [pid 11779 on line 754 of "/usr/share/psa-horde/imp/lib/Compose.php"]


# /usr/local/psa/admin/bin/mailmng --features|grep SMTP_Server $features['SMTP_Server'] = "QMail";
$features['SMTP_Server_package'] = "psa-qmail";

ls -al /usr/sbin/sendmail* /usr/lib/sendmail*
lrwxrwxrwx 1 root root 24 janv. 23 23:28 /usr/lib/sendmail.postfix -> ../sbin/sendmail.postfix
lrwxrwxrwx 1 root root 21 nov. 30 2012 /usr/sbin/sendmail -> /etc/alternatives/mta
-rwxr-xr-x 1 root root 201784 janv. 9 2013 /usr/sbin/sendmail.postfix


I try checked :
# ll /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 nov. 30 2012 /usr/sbin/sendmail -> /etc/alternatives/mta

# ll /etc/alternatives/mta
ls: /etc/alternatives/mta: No such file or directory

I try also to re-install postfix:
/usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component postfix

Installing the package postfix-2:2.3.3-6.el5.x86_64
altdir /etc/alternatives invalid
error: %post(postfix-2.3.3-6.el5.x86_64) scriptlet failed, exit status 2

ERROR: An error occurred during installation of packages.
Attention! Your software might be inoperable.
Please, contact product technical support.

I try also to re-install qmail:
/usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component qmail

Detecting installed product components.
You already have the latest version of product(s) and all selected components
installed. Installation will not continue.


Please help me to solve this problem.
thank you
 
Yes I tried to flow KB but without solving the problem.
I noticed that is completely misses the folder / file: /etc/alternatives/mta

problem is on Mail Transport Agent

can I install a new version of plesk or operating system? now I am on Linux 3.2.13-xxxx-std-ipv6-64 and CentOS release 5.8
installing a new version create the missing folder?
installing a new version will have impact on the sites installed on the server?

Thanks
 
Back
Top