TLS in postfix log

Jul 26, 2023
34
2
8
Hi champs, the main.cf for postfix is generated by proxmox mailgateway. (and therefor overwriting my changes)

How can I add commands to main.cf?

I want to enable tls logging, as per
smtpd_tls_loglevel = 1

How can I achieve this? :)
 
Last edited:
if you need to adapt a config-file that is manged by PMG - you need to use the templateing system:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

I hope this helps!

EDIT: for the tls_loglevel you can also simply 'Enable TLS Logging' in the GUI (GUI->Configuration->Mail Proxy->TLS)
I was a bit confused as I don't have a /etc/proxmox/template/ folder, hence the question.

But I did it in the gui as per your excellent advice. Cheers +1
 
I was a bit confused as I don't have a /etc/proxmox/template/ folder, hence the question.
hm - guess we should mention that it has to be created initially in the docs as well - as quite a few users have run into this

Thanks for the feedback!