Allow customization of /etc/postfix/main.cf
I want to be able to set the recipient_delimiter. But, currently, any customizations to main.cf get overwritten.

Thank you for your input! We will consider this functionality in upcoming releases if it will be popular.
Everyone, please continue voting for this feature if you consider it important.
— AY
-
Scott H commented
Hello Plesk team and community,
I am managing a multi-domain server and want to enforce per-domain recipient restrictions in Postfix (for example, to only allow mail for certain domains from specific IPs, such as SpamHero filtering). Like many others here, I have found that:
- Manual changes to /etc/postfix/main.cf are always overwritten by Plesk updates, repairs, or some GUI actions.
- There is no supported way to create a persistent custom template for Postfix main.cf (unlike for Apache/nginx).
- The only workarounds are automation scripts or re-applying changes after every Plesk update, which is error-prone and not “set and forget.”I have reviewed the latest Plesk Obsidian changelog (June 2025) and see no mention of a solution for persistent Postfix main.cf customization.
I think this is an important feature for compliance and security, and other users have mentioned it is supported by other panels like cPanel and ISPConfig.
Is there any update or roadmap for persistent Postfix main.cf customization in Plesk?
If not, this is my vote to please prioritize this feature - it is essential for many business and security use cases.
If anyone has found a new, officially supported solution for this in recent Plesk versions, please share!
-
6 admin commented
need please, all others system can do it (cpanel, ispconfig), why not Plesk ?
-
Kent O commented
How do you run a command after a Plesk update? I only have options for daily, weekly, monthly or hourly.
Instead of overwriting main.cf, it would be better to write a script that sets the appropriate parameters with postconf
-
Anonymous commented
create a custom file such as main.cf.custom and then add a command to plesk's scheduler for after update completed: cp custom.file /etc/postfix/main.cf
-
Marc Jauvin commented
The possibility to override settings for postfix (as it is possible with dovecot/apache) is sorely needed.
-
Arne Böttger commented
I modified my main.cf to include blacklisted recipients, which also gets overwritten from time to time:
smtpd_recipient_restrictions = … , hash:/etc/postfix/rejected_recipients
-
Anonymous commented
required for activate journaling to an archive
-
phenneau commented
required is plesk to support mail relay settings as alternative such a SendGrid when plesk is hosted on an hyperscaler blocking port 25, e.g.: GCP
-
tsmokie commented
I want to be able to customize master.cf. But, currently, any customizations to master.cf get overwritten.
-
Anonymous commented
I would love to see a main.cf editor like it’s present for panel.ini for example. We need to adjust a few things too and never know when they gets overwritten.
-
Anonymous commented
Plus addressing/sub addressing are now standard and required if we are migrating customers into Plesk or Plesk Premium Email. This needs to be addressed in about 30 minutes..
-
Ko Ko Zin commented
My modifications for virtual_mailbox_domains in main.cf get reverted every weekend and I've to modify once a week and repeat forever. That would be nice feature to prevent any modifications in main.cf file.
-
Anonymous commented
We need this asap. Thinkin on moving away from plesk.
-
JNoriega commented
We really need to customize several settings in Postfix for some of our customers, this feature would be a lifesaver.
-
Alexia commented
We would like to customize /etc/postfix/main.cf, please.
-
Sören commented
would be a nice feature, also customization of /etc/postfix/master.cf
-
B3 IT commented
We need this feature too.
-
Fabian Müller commented
This is really needed for proper mailserver configuration. E.g. preventing the server from sending backscatter...
-
solip commented
Please make at least smtp_recipient_restrictions configurable and do not just overwrite it with next to nothing + blacklists. This option is essential for correct mailserver configuration.
-
Hoppa66 commented
Would already help to have something similar to how Apache additional settings are handled - just a text box that holds the settings that will be re-applied/appended at the very moment the config is changed/overwritten.
Only administrators that know what they are doing will use this ... (I guess ... LOL).