• 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 overwrites postfix config breaking production server mail.

Russmac

New Pleskian
Hi,

I had the unfortunate experience of a client requesting Plesk installed.

After setting up postfix, disabling mail on plesk, Plesk WITHOUT ANY INPUT OR CONFIRMATION OR WARNING, overwrites this production servers postfix config every morning during patching, changing the destination address completely ignoring the hostname /etc/mailname and PTR associated with domain and breaking mail function.

If anyone can tell me how to disable this, despite already disabling mail through the UI *facepalm* that would be fantastic. Obviously disabling patching on software like this is not an option unless you want to volunteer as a bitcoin farmer.
 
Immediate idea is to make the files immutable, But given how this patching works I imagine they don't account for error handling like that and may break sending mail as well depending on what their script does.
 
Russmac, if you want completely disable mail in Plesk then you need remove corresponding components (Postfix, Docvecot/Courier) through Plesk autoinstaller. Then install postfix using system package manager. In this case Plesk won't be interact with postfix and their configuration files.
 
Back
Top