[Dovecot] tests with metadata module

Mihai Badici mihai at badici.ro
Sun Dec 29 11:52:23 EET 2013


On Thursday 26 December 2013 12:23:18 you wrote:
> --Repost after subscription as list member  ---
> 
> I made some tests with metadata support in dovecot 2.2.10.
> Previously I had dovecot 2.2.4 with external metadata plugin who work well.
> 
> I use dovecot with roundcube and roundcube plugins from kolab project .
> First, the feature activation was tricky and rather undocumented.
> I spent about half hour googling, after that I set:
> 
> imap_metadata = yes
> and
> mail_attribute_dict = file:%h/shared_metadata

It worked after I changed here : file:%s/shared_metadata  
A new folder "imap"  was created and the "shared_metadata" file is in that 
folder.  With previous settings that file was in the mailbox root directory  
and was not properly readed.

> 
> I think you cold put those lines in the 20-imap.conf  example file 
> commented; that way will be easy for us to activate.
> 
> Because I changed the location of shared_metadata, all folders was
> unannotated .
> I went in folder manager in roundcube and set folder "calendar" as calendar
> type and so on.
> That worked and i have:
> 
> cat shared_metadata:
> shared/c4268a04da44bb527c5b0000193e0904/vendor/kolab/folder-type
> event
> shared/cd5792367fc9cd5196170000193e0904/vendor/kolab/folder-type
> event
> shared/33f55d2e8912195209290000193e0904/vendor/kolab/folder-type
> event
> shared/32f55d2e8912195209290000193e0904/vendor/kolab/folder-type
> contact
> 
> 
> However, it looks like the metadata is not properly read after. Calendar and
> Contacts folders don't appear in roundcube.
> I have this crash in dovecot's log:
> 
> Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x67d81)
> [0xb7625d81] -> /usr/lib/dovecot/libdovecot.so.0(+0x67e11) [0xb7625e11] ->
> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb75d6af9] -> dovecot/imap()
> [0x805d3b2] -> dovecot/imap() [0x805d5bc] -> dovecot/imap() [0x805d6c9] ->
> dovecot/imap(client_handle_input+0x56) [0x805d836] ->
> dovecot/imap(client_input+0x72) [0x805dcc2] ->
> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x38) [0xb7638d98] ->
> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x10e) [0xb7639d6e] ->
> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x48) [0xb7638818] ->
> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x28) [0xb75dcb68] ->
> dovecot/imap(main+0x284) [0x8050f34] ->
> /lib/libc.so.6(__libc_start_main+0xf5) [0xb743f5a5] -> dovecot/imap()
> [0x80510a5]
> Dec 26 09:28:49 imap(mihai.badici): Fatal: master: service(imap): child 4919
> killed with signal 6 (core dumps disabled)
> 
> I logged imap sessions in roundcube and I have:
> 
> A0003 GETMETADATA "*" (/private/vendor/kolab/folder-type
> /shared/vendor/kolab/folder-type)
> 
> On a similar server with the "old" metadata plugin, I have here listed all
> folders with coresponding annotations.
> 
> How I can debug further? This is a test server so I can stress it.
-- 
Mihai Bădici
http://mihai.badici.ro


More information about the dovecot mailing list