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?