PrePflog: Difference between revisions

From voipsupport
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
==What is it?==
==What is it?==


PrePflog tries to solve the issue of double counting of email in Awstats or Pflogsumm.
PrePflog tries to solve the issue of double counting of email statistics in [http://www.awstats.org Awstats] or [https://jimsun.linxnet.com/postfix_contrib.html/ Pflogsumm].


The double counting occurs when Postfix is used with an after queue content filter (like Amavisd-new). The email passes through postfix twice, once before handing off to the filter and then when the email is received back from the filter for final delivery or forwarding. Each passage through Postfix generates email log entries.
The double counting occurs when Postfix is used with an after queue content filter like Amavisd-new. The email passes through Postfix twice, once before handing off to the filter and then when the email is received back from the filter for final delivery or forwarding. Each passage through Postfix generates email log entries.


It is a known issue that in this case Pflogsumm produced email statistics which were multiplied by two. No easy way of solving this in Pflogsumm is available.
It is a known issue that Pflogsumm produced email statistics which were multiplied by two. No easy way of solving this in Pflogsumm is available. See https://jimsun.linxnet.com/downloads/pflogsumm-faq.txt FAQ 14.
 
See https://jimsun.linxnet.com/downloads/pflogsumm-faq.txt FAQ 15.


This script sanitizes the log files to disregard the lines relating to the re-injection of the same message.
This script sanitizes the log files to disregard the lines relating to the re-injection of the same message.
Line 15: Line 13:
The code for the project is hosted on github. Please see: [https://github.com/johnfawcett/prepflog/ PrePflog source code repository]
The code for the project is hosted on github. Please see: [https://github.com/johnfawcett/prepflog/ PrePflog source code repository]


[https://github.com/johnfawcett/xxx PrePflog 0.4.1]
[https://github.com/johnfawcett/prepflog/archive/0.4.1.zip PrePflog 0.4.1]
 
[[PrePflog Change Log]]


Previous versions are archived for historical reference but are no longer maintained and should not be used: [[PrePflog previous versions]]
Previous versions are archived for historical reference but are no longer maintained and should not be used: [[PrePflog previous versions]]

Latest revision as of 00:06, 14 June 2016

What is it?

PrePflog tries to solve the issue of double counting of email statistics in Awstats or Pflogsumm.

The double counting occurs when Postfix is used with an after queue content filter like Amavisd-new. The email passes through Postfix twice, once before handing off to the filter and then when the email is received back from the filter for final delivery or forwarding. Each passage through Postfix generates email log entries.

It is a known issue that Pflogsumm produced email statistics which were multiplied by two. No easy way of solving this in Pflogsumm is available. See https://jimsun.linxnet.com/downloads/pflogsumm-faq.txt FAQ 14.

This script sanitizes the log files to disregard the lines relating to the re-injection of the same message.

How do I get it?

The code for the project is hosted on github. Please see: PrePflog source code repository

PrePflog 0.4.1

PrePflog Change Log

Previous versions are archived for historical reference but are no longer maintained and should not be used: PrePflog previous versions

GPG signatures for the latest versions are available here PrePflog gpg signatures

Where can I get more information?