• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be 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.

things in main.cf get overwritten when changing unrelated "Mail Server Settings"

wurzelpete

New Pleskian
Hi!
I have edited the main.cf file to integrate some anti-spam settings which work flawlessly. Now I noticed that whenever I change something completely unrelated in the "Mail Server Settings"-Page, some of these settings get removed and replaced with default values.

In particular these settings of mine
Code:
smtpd_recipient_restrictions =
 permit_mynetworks,
 permit_sasl_authenticated,
 reject_non_fqdn_sender,
 reject_non_fqdn_recipient,
 reject_unknown_sender_domain,
 reject_unknown_recipient_domain,
 reject_unknown_client_hostname,
 reject_unauth_destination,
 reject_rbl_client ix.dnsbl.manitu.net
get replaced by
Code:
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
Obviously I want to keep my own settings even if I change something in Plesk on the "Mail Server Settings" page (and wherever else).

How can I prevent Plesk from overwriting my own settings of smtpd_recipient_restrictions?

Thanks for your help!
 
Doesn't Plesk use postconf to add and delete values?
It shouldn't touch any of the already existing settings I thought.


IgorG, can you verify?
 
I face the same issue and there are several trigger when plesk overwrite/replace the main.cf. I have as a workaround a cronjob who checks if the main.cf was modified and replace it with my version. Hopefully there will be a better solution
 
Last edited:
Back
Top