NAME

pmx-qexpire - Wrapper for pmx-store-expire


SYNOPSIS

 pmx-qexpire [options]


DESCRIPTION

The pmx-qexpire command is a wrapper that invokes the more generic pmx-store-expire program with options to make it expire from the PureMessage quarantine.

Running pmx-qexpire is equivalent to running pmx-store-expire --class=PureMessage::Quarantine.


OPTIONS

The following options can be set in /opt/pmx6/etc/pmx.d/quarantine_expire.conf:

archive
Whether to archive expired messages. Expects a boolean value.

archive_dir
The path to the archive directory. If not specified, the default is ~/archive directory.

exec
Additional command options. See the pmx-store-expire manpage for details.

expire_time
Expire messages that are older than N hours/days/weeks (e.g 12h, 7d, 2w, etc.)

reason
Specify a reason (for example, ``Virus'') for expiring messages. All quarantined messages that match the specified reason are expired.

The options for pmx-store-expire can also be used at the command line. These options will override the settings in quarantine_expire.conf. See the pmx-store-expire manpage for details.


SEE ALSO

the pmx-store-expire manpage, the pmx manpage


COPYRIGHT

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