Discussion:
Problem with Archive folder/partition
Michael Boyarsky
2015-05-12 17:37:28 UTC
Permalink
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/***@cosmos.ru" "user/x2.test/***@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/***@cosmos.ru" "user/x2.test/***@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
Gelpi Andrea
2016-08-20 20:45:11 UTC
Permalink
Post by Michael Boyarsky
Hello,
I have a problem with archive folder / archive partition in Kolab 3.4/Centos 7.
autocreate_folders = {
'Archive': {
'quota': 0,
'partition': 'archive'
},
defaultpartition: default
#local RAID10 partition
partition-default: /var/spool/imap
#Glusterfs partition mounted from remote server
partition-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.
May 11 21:31:57 mail kolabd: 31:57.31 > ONCB6 RENAME
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
cyradm --server localhost --user *******
verify error:num=18:self signed certificate
localhost> quit
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
_______________________________________________
users mailing list
https://lists.kolab.org/mailman/listinfo/users
On a newly installed kolab 3.4 on Centos 7 I have the same problem.
The workaround is as described above.

Is anywhere a patch or a solution?

Thank You
--
Gelpi ing. Andrea
--------------------------------------------------------------
It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here.
--------------------------------------------------------------
Loading...