pmx-store-expire - Expire messages in PureMessage message store
pmx-store-expire program can archive and delete messages from
the message store that are older than the specified number
of days and/or hours. The archive filename is printed to the
standard output after the archive is created.
pmx-store-expire program finds messages that are older
than the date and time specified, and creates symlinks in a temporary
directory. When all the expired messages are located, the temporary
directory is archived and deleted, along with the original messages.
pmx-store-expire is read from the
/opt/pmx6/etc/pmx.d/quarantine_expire.conf configuration file but you can
override the configured settings by passing the below command line
The following options are recognized by the
--days 0.5is the same as
--hours are specified, the number is simply
added together. At least one of these options must be specified.
driver specifies the database back end to use. At this time, only ``dir'' is supported. Specify the location of the message store in the path switch. See PureMessage::MessageStore for details about the access.
tar -cPf - | [compressor]
--exec "find . | cpio -o"
The list of expired files in the temporary directory is used as a standard input for the ``cpio -o'' command. The output of ``cpio -o'' is written to the archive file.
the pmx-store manpage, the pmx-store-import manpage, the pmx-store-export manpage
Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.