Cyrus configuration
Prerequisite
IMAP Archive service needs a specific partition in order to store the archived mails.
Such partition has to be created manually, as we want the OBM admin to choose where its archives are located.
About
Archive folders are stored in another Cyrus partition than other folders, this means that the system administrator can associate another file system to this partition.
Adding the archive partition
In order to achieve this task, you have to edit the Cyrus configuration file /etc/imapd.conf
and add the IMAP Archive partition:
partition-domain_suffix: /var/spool/cyrus/folder
where:
-
domain is the name of the domain associated to this IMAP Archive partition (dots replaced by underscores)
-
suffix is the Cyrus archive partition suffix defined in the Configuration
-
folder may be any not existing folder (read the note below for more information)
Warning
|
Under Debian, the partition folder is automatically created by Cyrus when needed. Under RHEL/CentOS, this folder is not created, you should create it manually, |
Warning
|
In a Cyrus murder configuration, the archive partition should be added in each murder backends. |
Then, you will have to restart Cyrus in order to run with the new configuration.
Each domain configured for IMAP Archive service should have a corresponding Cyrus partition.