log consolidation

BlackTC

New Member
Jan 12, 2021
4
1
3
Hi everyone!

I'm evaluting a pmg installation, and I've a question: is it possibile to send log of mail receiving and sending to a log server for consolidation, using a configuration that won't broke making version update to pmg? it seems to me that there is no option in web configs

thanks!
 
I'm evaluting a pmg installation, and I've a question: is it possibile to send log of mail receiving and sending to a log server for consolidation, using a configuration that won't broke making version update to pmg? it seems to me that there is no option in web configs
PMG relies on syslog for some of its operations (mail tracker) - so we'll probably have rsyslog around for quite a while.

you could add an rsyslog config-snippet (also systemd-journald can send logs to other instances) which sends the logs to your log-archiving solution (udp, tcp, repl) - as long as you keep the modification in mind (and don't prevent all system logs to land in /var/log/syslog) this should not cause issues during upgrades

(howtos for configuring rsyslog for remote logging are abundant on the internet)

I hope this helps!
 

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!