• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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