• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Postfix stopped working when changing hostname

mrtripps

New Pleskian
Hi I changed the hostname of my server in the plesk control panel. I now get errors in the /usr/local/psa/var/log/maillog when attempting to send email. The errors look like:
postfix/postfix-script: starting the Postfix mail system
postfix/master: daemon started -- version 2.8.4, configuration /etc/postfix
postfix/cleanup: fatal: host/service localhost/12768 not found: Name or service not known
postfix/pickup: warning: maildrop/E5559996219: error writing 4FA2C996217: queue file write error
postfix/master: warning: process /usr/libexec/postfix/cleanup pid 15334 exit status 1
postfix/master: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttlin
Is there a setting in /etc/postfix/main.cf that I need to update?

Edit: the myHostName value matches the hostname I changed in the control panel. I have commented the following two lines in main.cf:
smtpd_milters = inet:localhost:12768
non_smtpd_milters = inet:localhost:12768
E-mail seems to be working ok again now. But can anyone tell me what those values are for? I don't want to leave them uncommented if they are meant to serve a purpose.
 
Last edited:
Back
Top