How do you use message aging to delete messages?
The class of service (COS) facility offers a Msgexpiration option, which directs the system to delete old messages for a user, or old messages that a user has seen, according to terms of the miMailExpirePolicy attribute.
To initiate message aging, the following setup is required:
1. Using the Cos command, enable user checking for message expiration:
Cos Enable Msgexpiration
2. For users whose messages are to be aged and automatically deleted, add a line like this to their LDAP user entry:
miMailExpirePolicy: user.diskhog 30 U
In this example, a user named diskhog is permitted to retain e-mail in his Inbox for 30 days after reading (updating) a message.
3. Schedule automatic message expiration. In this example, messages are expired daily at 3 a.m. for all users with miMailExpirePolicy:
Schedule Addaging daily 3 "Mailbox Msgexpirenow (users=*) 0"
For more information on the message aging feature, see About the Message Aging Feature, the CLI online help, or Mirapoint's Administration Protocol Reference for your version of MOS.