You can use the Mailbox/Library Maintenance utility to check the integrity of and repair user/resource, message, and library databases, and to free disk space in post offices.
For detailed information and instructions, see Maintaining User/Resource and Message Databases, Maintaining Library Databases and Documents, and Managing Database Disk Space.