The imarchive utility supports the AXS-One archiving system for Messaging Server. imarchive reads the AXS-One archive report files and performs one of the following actions:
Marks the messages as archived in the message store. Messages remain in both the message store and archive system. Marking a message prevents it from being re-archived. Marking messages is the default action.
Deletes the messages in the message store. Messages are stored in the archive system, but they no longer reside in the message store.
Creates URL stubs of the messages. The user will see the same header, internal date, save date, and message flags, but instead of the message text, the user will have a clickable URL to retrieve the message text.
Requirements: Must be run locally on the Messaging Server. You may run imarchive as rootor as mailsrv.
Location: msg-svr-base/sbin/
imarchive [-s] [-v] [-p dir] |
The options for this command are:
Option |
Description |
---|---|
-p dir |
Processes archive reports in the specified directory. |
-s |
Replaces archived messages with stubs |
-v |
Provides verbose logging information. |
If you do not use either the -d option or the -s option, imarchive takes the default action, marking the messages as archived in the message store.
To stub messages, saving 200 bytes of the original message body:
imarchive -s -b 200 |