Help with adjusting pmg-log-tracker

heutger

Famous Member
Apr 25, 2018
893
260
108
Fulda, Hessen, Germany
www.heutger.net
Hi,

I adjusted PMG to reject mails from a particular spam level by milter. I already have a code adjustment, which shows me all lines with milter-reject, but missing all additional log entries regarding the message. Help wanted to be able to see the full log, e.g. my additional logging of Subject, From and To.

Regards,
Christian
 
pmg-log-tracker is quite a specific piece of software - optimized primarily for speed (instead of flexibility of the parsed logs).
We were considering to changing its interface to use the journal - https://bugzilla.proxmox.com/show_bug.cgi?id=2107
However recent tests showed that the journal api is not too fast, and could be prohibitively slow for a complete switchover - see https://pve.proxmox.com/pipermail/pmg-devel/2019-May/000401.html for the result of our last tests with this.

This is just as an overview of the potential future development.

I already have a code adjustment
Would you be able to share this adjustment via the pmg-devel mailinglist - it's always easier to talk about improvements when we know what's already there.

Hope this helps!
 
pmg-log-tracker is quite a specific piece of software - optimized primarily for speed (instead of flexibility of the parsed logs).
We were considering to changing its interface to use the journal - https://bugzilla.proxmox.com/show_bug.cgi?id=2107
However recent tests showed that the journal api is not too fast, and could be prohibitively slow for a complete switchover - see https://pve.proxmox.com/pipermail/pmg-devel/2019-May/000401.html for the result of our last tests with this.

This is just as an overview of the potential future development.


Would you be able to share this adjustment via the pmg-devel mailinglist - it's always easier to talk about improvements when we know what's already there.

Hope this helps!

Thanks for your response. I will send the code in the mailing list.
 

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!