Extended stats volunteers

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Thu, 10 Feb 2011 11:51:20 -0800

Hi,

If you're not sending stats back to HQ already, or aren't now and don't plan to start, you can skip this message.

For those that are or will be, I'm interested in starting to collect some extended statistics if you're interested in providing them. These are not part of the basic schema we ship as part of the tarball so there are a couple of extra setup steps you'll need. Also, the data I'm interested in collecting include whether or not any other filters you're using think a message is spam (e.g. SpamAssassin) and whether or not a message passes SPF and/or Sender-ID checks.

Because of the way milter works, these would have to be in your list of applied milters before opendkim runs as a verifier, so that's one setup step. You'll also need to build opendkim with "-enable-statsext" and "-with-lua", which of course means you'll need to install Lua if you haven't already.

The stats extensions feature invokes a Lua script that can check for these results and record extended statistics that will be automatically included the next time you send us a data batch. The Lua script I'm running for this purpose looks like the attached file, and captures the above information plus the message's recipient count and then records them as extended statistics. The main database here is rigged to receive them using the stat names used in that script.

Before anyone turns this on, please let me know so that the statistics parsing system here can be adjusted to expect extended data.

Let me know if you have any questions.

-MSK




Received on Thu Feb 10 2011 - 19:51:34 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:08 PST