• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Qmail problem after update to Obsidian

Erwan

Regular Pleskian
Hi all,

We have a problem after migrating to Obsidian: no email are leaving.

# mail -s "test" [email protected] < /dev/null
Null message body; hope that's ok
/usr/sbin/sendmail: no such file or directory
"/root/dead.letter" 9/228
. . . message not sent.

The server is on CentOS Linux release 7.7.1908.

Thank you for your help.
 
Precision: we use Qmail.

If i search sendmail:
# whereis sendmail
sendmail: /usr/sbin/sendmail.postfix /usr/lib64/sendmail.postfix
 
Ok, problem solved with this command:
# ln -s /usr/lib64/plesk-9.0/qmail-sendmail-wrapper /usr/sbin/sendmail
 
It seems that these symlinks are problematic after Obsidian upgrades.

The above is OK, but since RHEL/CentOS uses "alternatives" for such things, this below might be more correct and perhaps prevent some unforeseen troubles in the future...

This is actually from Plesk Onyx, CentOS 7 and qmail, but it should be the same on Obsidian:
Code:
[user@server /]# ll /usr/sbin/sendmail
0 lrwxrwxrwx 1 root root 21 Jul 25 03:23 /usr/sbin/sendmail -> /etc/alternatives/mta
[user@server /]# ll /etc/alternatives/mta
0 lrwxrwxrwx 1 root root 43 Jul 25 03:23 /etc/alternatives/mta -> /usr/lib64/plesk-9.0/qmail-sendmail-wrapper
 
BTW, if you'd like to compare the state of MTA alternatives on your server:
Code:
[user@server /]# alternatives --display mta
mta - status is manual.
 link currently points to /usr/lib64/plesk-9.0/qmail-sendmail-wrapper
/usr/lib64/plesk-9.0/qmail-sendmail-wrapper - priority 90
 slave mta-sendmail: /usr/lib64/plesk-9.0/qmail-sendmail-wrapper
Current `best' version is /usr/lib64/plesk-9.0/qmail-sendmail-wrapper.
 
Back
Top