OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
a way to avoid double counting in pflog

From: Lloubes Jeremy (jeremy.lloubesinsa-lyon.fr)
Date: Thu Nov 23 2006 - 06:09:51 CST


Hi,

As i browsed messages and pflogsumm i couldn't be sure whether this problem has
been adressed or no ...

This may be a clue:

The problem occurs when any content filtering is on. On the system i'm parsing
now, this content filter is amavis.

The stats i have to provide needs both pflogsumm and amavislogsumm
interpretation. Therefore, wouldn't it be clever to consider that the
total number of mails in pflogsumm is fake by the exact number of mail
that amavis processed?
Then, the point should be to substract this
amount from the total number of mail found by pflogsumm ... (which is
according to what i understood, the "received" + "rejected" total).

Thanks for any comment.

(by the way, i may try to propose my script as a contribution later on, if
anybody could give me some info on how to do that i'd be grateful ...
my first time on a mailing list, excuse me in advance in case i broke
some rulez)