Question about customizing templates

Andrei9385

Member
Nov 30, 2023
38
1
8
Hello. When I add or modify parameters, can I delete all the others?

cp /var/lib/pmg/templates/main.cf.in /etc/pmg/templates/

After that I changed 3 parameters in /etc/pmg/templates/main.cf.in:

mydomain = smtp01.3l.ru
myhostname = smtp01.3l.ru

smtp_helo_name = smtp01.3l.ru

Can I delete all the other lines in the template?

How does it work? First the default config is loaded, and then this config is read and what parameters do not match the default value are changed?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!