Man Linux: Main Page and Category List

NAME

       opendkim-importstats - DKIM statistics import tool

SYNOPSIS

       opendkim-importstats [options]

DESCRIPTION

       opendkim-importstats imports collected DKIM operational statistics into
       an SQL database.  Statistics are collected by  the  opendkim(8)  filter
       into  a  local  database  file  and output in a tabulated format by the
       opendkim-stats(8) tool.  See their respective manual pages for  further
       information.  The tabulated format is appropriate for importing into an
       SQL database.

       The script can also be used to receive piped mail that is in the output
       format   generated   by   opendkim-stats(8),   allowing  collection  of
       statistics from many  opendkim(8)  filters  via  a  mail  server.   For
       example, a cron(8) job can call opendkim-stats(8) with specific command
       line options to generate tabulated output and mail it to  some  central
       address  that  is  actually  an  alias  that pipes that message to this
       script which will conduct the import.

       The current implementation presumes the use  of  mysql(8)  as  the  SQL
       backend.

OPTIONS

       -D     Include  domain  names  in  output  (by  default,  the output is
              anonymized).

       -d name
              Specifies the name of the SQL database into which records should
              be imported.  The default is opendkim.

       -p password
              Specifies  the  password  that should be used to authenticate to
              the SQL database.  The default is opendkim.

       -s dbfile
              Names the local database file  that  should  be  accessed  using
              opendkim-stats(8) to extract records to be inserted into the SQL
              database.  The local database  file  will  be  reset  after  the
              import  attempt.   By  default  the report is read from standard
              input instead of from a database, presuming the report  will  be
              mailed.

       -u user
              Specifies  the  password  that should be used to authenticate to
              the SQL database.  The default is opendkim.

VERSION

       This man page covers the version of opendkim-importstats  that  shipped
       with version 2.1.3 of OpenDKIM.

COPYRIGHT

       Copyright (c) 2010, The OpenDKIM Project.  All rights reserved.

SEE ALSO

       opendkim(8), opendkim.conf(5)

       RFC4871 - DomainKeys Identified Mail

                             The OpenDKIM Project      opendkim-importstats(8)