Hello!
Thank you for the suggestion.
That solved the problem of using layout FS with MBOX storage format.
After copying all the mail of the test user to the namespace in this format I've compressed all the storage files with ZSTD and that changed the name with the additional suffix .zst
Dovecot seems to need this to be .zstd so I've fixed the names.
But ... it doesn't work.
Jun 28 08:56:39 ribble dovecot: imap(pribeiro@net.ipl.pt)<82609><vi0h1M7FGMMKZP4/>: Error: Mailbox @HISTZLIB/IPLNet: stat(/mnt/mail-hist/historic-fs/net.ipl.pt/ro/pribeiro/mailboxes/IPLNet/mBoX-MeSsAgEs) failed: No such file or directory In that directory the filename is:
-rw------- 1 vmail vmail 853M Jun 25 17:25 mBoX-MeSsAgEs.zstd What am I doing wrong?
regards!
On 24/06/2021 14:53, Josef 'Jeff' Sipek wrote:
On Thu, Jun 24, 2021 at 10:35:24 +0100, Pedro Ribeiro wrote:
Hello everyone!
Our archive namespace is kept in MBOX format with Maildir++ layout due to:
- Need to have the email from all users/folders self contained (our base namespace uses MDBOX with single instance storage of attachments)
- MBOX/FS layout isn't supported because some folders have messages and subfolders. You should be able to use the fs layout if you specify a dirname: https://doc.dovecot.org/configuration_manual/mail_location/mbox/mboxchildfol...
Then, the compression suffix being added shouldn't matter.
Jeff.
-- Best regards,