Although Xeams does not take a lot of disk space when you first start using, it can potentially take a large chunk on your disk after a few years. This article talks about how to clean up disk space that is no longer needed.
$INSTALL_DIR/UserRepository
folder when
the server mode is either set to Stand-Alone or Hybrid. This folder
can grow very big if user repositories are maintained but no user ever connects to it to fetch and delete messages.
$INSTALL_DIR/UserRepository
if Xeams was incorrectly configured to run
in Hybrid mode and no one is using IMAP/POP3.
Most disk space in Xeams is consumed by the following folders:
$INSTALL_DIR\GoodEmails
- Holds Good messages$INSTALL_DIR\PossibleSpam
- Holds Possible Spam messages$INSTALL_DIR\SpamEmails
- Hold Spam messagesThe easiest way to view the disk usage for these folder is to click the magnifying glass icon, as shown in the image below.
The following page will display disk usage for all of the folders described above. It will also allow you to click details to see the user account consuming most space.
When emails are deleted from a user's local repository, they are marked as deleted but are not removed from the disk. Over time, this can lead to excessive disk usage.
Xeams rebuilds the user's mailbox when it is purged, which reassigns a different UID to every message. Users must refrain from fetching emails via IMAP or POP3 during this operation. Therefore, purging is recommended when users are not connected to the system.
...operation=60
....operation=210
Optionally, you can configure Xeams to purge user data every week automatically. When this option is selected, purging will occur every
Sunday around midnight. Add auto.purge.user.repositories.once.a.week=true
in the
server.properties file.