Section: Maintenance Commands (8)Updated: 10 May 2007Local indexUp
dkim-stats - output dkim-milter statistics
utility reads from a
statistics database and dumps the data therein to standard output. It takes as
its only argument the path to this database. The
statistics gathering is disabled by default, but can be enabled through a
This is currently an undocumented feature of the
package which must be enabled by a compile-time option.
groups statistics output by domain and canonicalization. Each line begins
with a domain and a header/body canonicalization. The canonicalization is
currently the raw enumerated value taken from the libdkim headers; for
reference, 0 = simple, 1 = relaxed, and 2 = noswp. This format looks like:
domain:x/xx pass/x fail, last v=x, l=x, a=x, date
For each line, the following statistics are shown:
number pass/number fail
Count of passes and failures
Most recent DKIM signature version seen; this is another integer code starts
at 0 and goes through 5, with higher numbers representing more recent versions
of the draft DKIM specification.
A boolean indicating whether or not the most recent signed message had an "l="
tag in its signature.
Most recent algorithm seen (0 = rsa-sha1; 1 = rsa-sha256)
Last date a signed message was seen
gmail.com:1/1212 pass/0 fail, last v=2, l=0, a=0, Sat May 5 17:42:58 2007
gmail.com, using canonicalization
, has sent
messages that passed signature verification and
that failed. The most recently seen signature version was
, the most recently seen signature algorithm
, and the last message did
include a length tag. The most recent message was seen on
in the server's local time zone.
The output of
is subject to change. Please be aware of this when upgrading to future
releases, especially if you develop any scripts that consume the output.