Scality CDMI

mail_location = obox:%2Mu/%2.3Mu/%u:INDEX=/:CONTROL=/

We’ll use 2 + 3 chars of the MD5 of the username at the beginning of each object path to improve performance. These directories should be pre-created to CDMI. The index and control dirs have to point to the user’s home directory.

plugin {
 obox_fs = fscache:1G:/var/cache/mails:compress:gz:6:scality:http://scality-url/mails/?addhdr=X-Dovecot-Hash:%2Mu/%2.3Mu&bulk_delete=1&bulk_link=1
 obox_index_fs = compress:gz:6:scality:http://scality-url/mails/?addhdr=X-Dovecot-Hash:%2Mu/%2.3Mu&bulk_delete=1&bulk_link=1
 obox_max_parallel_copies = 100      # With bulk-delete and bulk-link enabled, parallel operations can be large:
 obox_max_parallel_deletes = 100
}

The X-Dovecot-Hash header is important for CDMI load balancer stickiness.