How do I configure automatic message expiry?

While mail systems typically retain messages indefinitely, you may wish to automatically purge old items from high-volume rooms, RSS feeds, discussion forums, or mailboxes to manage storage growth and eliminate clutter.

Citadel features a built-in automated purger that evaluates rooms daily and purges old messages according to your retention policies.

Configuring System-Wide Expiry in WebCit

To configure global message expiry policies:

  1. Click System Configuration in the sidebar.
  2. Select the Auto-purger tab.
  3. Configure the hour of the day (0 to 23) when the database auto-purge job should run.
  4. Set the default expiry policy for public rooms and private mailboxes. You can choose:
    • Never automatically expire messages: Retains all messages permanently.
    • Expire by message count: Keeps only the most recent N messages, deleting older ones.
    • Expire by message age: Deletes messages older than a specified number of days.
  5. Click Save changes to apply.

Configure automatic expiry of old messages in WebCit

Overriding Expiry Policies Per Floor or Per Room

System-wide defaults provide a baseline for your site, but you can tailor retention policies with granular control: