pmx-reports-mailer-v2 - Runs scheduled reports and emails them to the specified email address
pmx-reports-mailer-v2 --report --custom --direction --subject --mailto
The pmx-reports-mailer-v2
program generates reports and emails them
to the specified email address. Run this as a scheduled job if you want to
receive certain reports on a regular basis.
--report
or --custom
option.
report(s)
will be mailed to. You must specify at least one
recipient.
--list
option. You can specify multiple reports if you want to mail more than
one. If no report is specified, the default MessageCategories
is used. For
example, to email the ``Top Spam Senders'' report to me@example.com, enter the
following at the command line:
pmx-reports-mailer-v2 --report TopSpamSenders --mailto me@example.com
--list
option. You can specify multiple titles if you want
to mail more than one. For example, to email the ``Custom Report Foo'' report to
me@example.com, enter the following at the command line:
pmx-reports-mailer-v2 --custom "Custom Report Foo" --mailto me@example.com
inbound
,outbound
,or both
) for the report data.
By default, the data is given for both directions.
--end
option described below. An end date must be specified if a start
date is specified. You can also use the --time-frame
option (described below)
as an alternative to start
and end
. The command must include one of these
two methods.
--start
described above. A start date must be specified if an end date
is specified. You can also use the --time-frame
option (described below) as
an alternative to start
and/or end
. The command must include one of these
two methods.
24h
, 3d
). The default is 24h
. As
an alternative method, use the --start
and --end
options described above.
The command must include one of these two methods.
Subject: Top Spam Senders
By default, the subject is pmx-reports-mailer-v2 $hostname
, where $hostname
is the name of the server from which the report originates.
Copyright (C) 2000-2010 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.