Symptoms
Unable to send an email with the following error in /var/log/maillog file:
postfix/qmgr[8738]: warning: connect #5 to subsystem private/rewrite: Connection refused
postfix/pickup[8739]: warning: connect #5 to subsystem public/cleanup: Connection refused
Cause
Wrong configuration in the /etc/postfix/master.cf file
Resolution
Connect to the server via SSH
Create a backup for
/etc/postfix/master.cffile:# cp -pr /etc/postfix/master.cf /etc/postfix/master.cf.$(date +'%Y-%m-%d_%T')
Copy
/etc/postfix/master.cffile content from working instance of PleskRestart Postfix service:
# systemctl restart postfix