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!
 

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!