Keep in mind that you have to update the config as well if the original got updated (changes get not synced automatically).
───────────────────────────────────┤ Modified configuration file ├───────────────────────────────────┐
Line by line differences between versions
--- /etc/pmg/templates/main.cf.in root.root 0644 2018-04-02 11:51:59
+++ /var/lib/pmg/templates/main.cf.in root.root 0644 2020-04-24 19:31:15
[]
https://pmg.proxmox.com/wiki/index.php/Release_History#Proxmox_Mail_Gateway_6.2 said:Handling of changes to overridden templates with ucf
- Starting with this release all service configuration templates, copied and modified in /etc/pmg/templates get registered with ucf. Should a overridden template change with a new package version the administrator is asked and can accept or reject the changes.
- All users who have templates in /etc/pmg/templates will be asked about the current changes for the initial registration.
yes - you get asked once on this upgrade - and afterwards you will get notified whenever the shipped templates change.Obviously this isn't true any longer, the newest update wants to change my copied config:
PMG does not overwrite your manually modified templates in /etc/pmg/templates - the one change with PMG 6.2 was that they get registered with ucf (see `man ucf`, `man ucfr`) - and for this registration you get asked about your modifications.I am confused. Why would PMG update overwrite /etc/pmg/templates/main.cf.in ?