Problem with Archive folder/partition

Gelpi Andrea liste at gelpi.it
Sat Aug 20 22:45:11 CEST 2016


Il 12/05/2015 19:37, Michael Boyarsky ha scritto:
> 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 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.
>
> Error logged:
>
> May 11 21:31:57 mail kolabd: 31:57.31 > ONCB6 RENAME
> "user/x2.test/Archive a cosmos.ru" "user/x2.test/Archive a 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 certificate
> IMAP Password:
>               localhost> renm "user/x2.test/Archive a cosmos.ru"
> "user/x2.test/Archive a 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
>
>
> _______________________________________________
> users mailing list
> users a lists.kolab.org
> 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.
--------------------------------------------------------------


More information about the users mailing list