Help with adjusting pmg-log-tracker

heutger

Famous Member
Apr 25, 2018
902
267
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.