Tips on cleaning up disk space
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.
- Ensure messages are not retained indefinitely. This is done by going into Server Configuration →
Message Retention and ensure none of the values are set to -1, which means files will never be deleted.
- Second, if you're not using the IMAP/POP3 servers in Xeams, ensure the server type is not Hybrid. Switch it
to Firewall mode instead. This is done by going into Server Configuration and checking the value for Server Type.
Xeams will maintain user repositories for every user in the
$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.
You can safely delete the
$INSTALL_DIR/UserRepository if Xeams was incorrectly configured to run
in Hybrid mode and no one is using IMAP/POP3.
User Repositories will always exist when running Xeams in Stand-Alone mode since you will have to enable IMAP/POP3 for users to get their emails.