NAME

pmx-reports-mailer - Runs reports and emails them to the specifeid email address


SYNOPSIS

 pmx-reports-mailer --list-reports
 pmx-reports-mailer --id msgcategories --to user@domain.com


DESCRIPTION

The pmx-reports-mailer program generates a series of reports and emails them to the specified email address.


OPTIONS

--list-reports
Prints a list of available report IDs that can be emailed or run from the command line. The following is an example of possible reports:
    ID
    msgcategories
    rulehitrates
    spamranges
    topspamrecipients
    topspamrelays
    topspamsenders

--id
The report ID to email. To email multiple reports in a single message, simply repeat the --id option. To email the ``Top Spam Senders'' report to me@example.com, for example, enter the following at the command line:
    pmx-reports-mailer --id topspamsenders --to me@example.com

--individual
Create a separate report for each individual edge server instead of grouping the results together in one report.

--time-frame
The time frame that is to be reported on. Values can be specified as any number of hours or days (e.g. 24h, 3d). The default is 24h. An alternative method for defining the time frame is to use the --start and --end options described here.

--start
The start of the time frame being reported on. This is specified as the number of seconds since the epoch (1970-01-01 00:00:00 GMT). This must be used along with the option --end also described here. These two options may be used as an alternative to --time-frame.

--end
The end of the time frame being reported on. This is specified as the number of seconds since the epoch (1970-01-01 00:00:00 GMT). This must be used along with the option --start also described here. These two options may be used as an alternative to --time-frame.

--to
The email address of the report recipient

--from
The email address of the report sender. The default is the admin address specified in pmx.conf, for example:
    From: PureMessage Admin [postmaster@puremessage.host.com]

--subject
The subject of the report. The default is the report title, for example:
    Subject: Top Spam Senders

--html
Send the report in HTML format. Any reports that generate charts/graphs will have their respective images attached to the generated email message.

--debug
Enable debugging output, which dumps the full body of the email message to standard output prior to sending the email message.

--help/-?
Shows a brief usage statement.

--man
Shows the full man page.


COPYRIGHT

Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.