Problem with Archive folder/partition
Michael Boyarsky
m.boyarsky at hotmail.com
Tue May 12 19:37:28 CEST 2015
Hello,
I have a problem with archive folder / archive partition in Kolab 3.4/Centos 7.
In /etc/kolab/kolab.conf I have:
autocreate_folders = { 'Archive': { 'quota': 0, 'partition': 'archive' },
In /etc/imapd.conf:
defaultpartition: default#local RAID10 partitionpartition-default: /var/spool/imap#Glusterfs partition mounted from remote serverpartition-archive: /mnt/ssda/mail.cosmos.ru/archive
But when new user is created from kolab-webadmin, archive folder is autocreated in default partition and not moved to archive partition.
Error logged:
May 11 21:31:57 mail kolabd: 31:57.31 > ONCB6 RENAME "user/x2.test/Archive at cosmos.ru" "user/x2.test/Archive at cosmos.ru" "archive"May 11 21:31:57 mail kolabd: 31:57.31 < ONCB6 BAD Invalid partition name in Rename
But if I move this folder manually with cyradm with the same arguments the operation succeeds:
cyradm --server localhost --user *******verify error:num=18:self signed certificateIMAP Password: localhost> renm "user/x2.test/Archive at cosmos.ru" "user/x2.test/Archive at cosmos.ru" "archive"localhost> quit
And archive folder is actually moved from default partition to the archive partition:
ls -l /mnt/ssda/mail.cosmos.ru/archive/domain/c/cosmos.ru/x/user/x2^test/Archive/total 2-rw-------. 1 cyrus mail 4 May 11 21:40 cyrus.cache-rw-------. 1 cyrus mail 218 May 11 21:40 cyrus.header-rw-------. 1 cyrus mail 128 May 11 21:40 cyrus.index
So what is wrong and how can I have the archive folder automatically relocated to archive partition when new user is created?
With best regars,Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150512/b65f1234/attachment.html>
More information about the users
mailing list