pmg-docs/pmgqm.1-synopsis.adoc
2018-01-31 14:02:21 +01:00

57 lines
1.2 KiB
Plaintext

*pmgqm* `<COMMAND> [ARGS] [OPTIONS]`
*pmgqm help* `[OPTIONS]`
Get help about specified command.
`--extra-args` `<array>` ::
Shows help for a specific command
`--verbose` `<boolean>` ::
Verbose output format.
*pmgqm purge* `[OPTIONS]`
Cleanup Quarantine database. Remove entries older than configured
quarantine lifetime.
`--check` `<boolean>` ('default =' `0`)::
Only search for quarantine files older than configured quarantine lifetime. Just print found files, but do not remove them.
*pmgqm send* `[OPTIONS]`
Generate and send spam report emails.
`--debug` `<boolean>` ('default =' `0`)::
Debug mode. Print raw email to stdout instead of sending them.
`--receiver` `<string>` ::
Generate report for a single email address. If not specified, generate reports for all users.
`--redirect` `<string>` ::
Redirect spam report email to this address.
`--style` `<custom | short | verbose>` ::
Spam report style. Default value is read from spam quarantine configuration.
`--timespan` `<today | week | yesterday>` ('default =' `today`)::
Select time span.
*pmgqm status* `[OPTIONS]`
Print quarantine status (mails per user) for specified time span.
`--timespan` `<today | week | yesterday>` ('default =' `today`)::
Select time span.