imexpire scans all user folders in the message store and marks all the messages that match the specified criteria as permanently deleted, or "expired."
The deleted messages will be expunged from the user mailbox when the user connects or disconnects from the server.
The actual data will be removed from the message store when impurge -a is run after the imexpire utility.
imexpire must be run on the message store server by root or by the message store owner.
Note - imexpire does not remove expired messages from the message store. It only marks those messages as "expired." You must run impurge -a after you run imexpire to reclaim the disk space. When imexpire is used with the -s option, it marks the "unseen" messages as "pending" instead of "expired." Once a message is marked as "pending", imexpire will not expire the message. You must run impurge -a to clear the "pending" flag.
|
The options for this command are:
The following command "expires" all messages from the message store that are older than February 14, 1998:
% imexpire -d 19980214
% impurge -a