Reports are summaries of various aspects of system operations, often drawn from system or
PureMessage logs. Report data is stored in the
PostgreSQL database, and reports can be viewed on demand or scheduled to be emailed.
System log reports are generated from the file specified in the log_to setting
of the pmx.conf configuration file (by default
pmx_log). These reports can be run as scheduled jobs or run manually from
the command line.
-
/opt/pmx/bin/pmx-reports-set-message-size-ranges
: If you need to recreate the reports database, you should run this once only to populate
the size ranges of the "prd_msg_size_range" table.
-
/opt/pmx/bin/pmx-reports-set-probability-ranges
: If you need to recreate the reports database, you should run this once only to populate
the spam probability ranges of the "prd_probability_range" table.
-
/opt/pmx/bin/pmx-reports-set-time-ranges
: Schedule this command to run frequently to populate the "prd_period" table with time
ranges prior to running the pmx-reports-consume-message-log,
pmx-reports-consume-pmx-log and
pmx-reports-consume-quarantine commands.
-
/opt/pmx/bin/pmx-reports-consume-message-log
: Schedule this command, or optionally run it manually, to ensure that the reports database
is updated with the message_log data.
-
/opt/pmx/bin/pmx-reports-consume-pmx-log
: Schedule this command, or optionally run it manually, to ensure that the reports database
is updated with the pmx_log data.
-
/opt/pmx/bin/pmx-reports-consume-blocklist-log
: Schedule this command, or optionally run it manually, to collect report data from the
blocklist_log.
-
/opt/pmx/bin/pmx-reports-consume-quarantine
: Schedule this command, or optionally run it manually, to ensure that the reports database
is updated with the quarantine data.
-
/opt/pmx/bin/pmx-reports-mailer
: Schedule this command, or optionally run it manually, to generate any of six possible
reports, and send them to the specified address.
-
/opt/pmx/bin/pmx-reports-mailer-v2
: If you are using the Groups Web Interface for reporting, schedule this command, or
optionally run it manually to generate reports, and send them to the specified email
address.