• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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