Question
Customized entries in
or
/etc/postfix/main.cf
get reverted after running the
/etc/postfix/master.cfplesk repair mail
command, installation of Plesk microupdates, or after changing settings in Tools & Settings > Mail Server Settings. Why does it get reverted?
Answer
Intended behavior. Plesk re-writes the config file every time mail settings are changed.
A vote can be left on Plesk UserVoice regarding the feature of keeping customizations untouched by Plesk:
Allow customization of /etc/postfix/main.cf.
Allow customization of /etc/postfix/master.cf.
The top-ranked suggestions are likely to be included in the next versions of Plesk.