Hi, I'm working on a Kolab related project and wanted to use dovecot on my dev machine. However I'm stuck with the metadata-plugin. I "solved" the permissions problems but now I get dict: Error: file dict commit: file_dotlock_open(~/Maildir/shared-metadata) failed: No such file or directory Before that, I had dict { metadata = file:/var/lib/dovecot/shared-metadata but got problems since my normal user had no permission to access /var/lib/dovecot. I compiled the plugin from the most recent commit. My dovecot runs in a chroot. I can login with KMail and can create Groupware (annotated) folders, but the metadata file dict won't get created and I also can't set/get metadata via telnet. doveconf -N # 2.0.15: /etc/dovecot/dovecot.conf # OS: Linux 3.1.0-1-amd64 x86_64 Debian 6.0.3 auth_mechanisms = plain dict { metadata = file:~/Maildir/shared-metadata } mail_access_groups = dovecot mail_location = maildir:~/Maildir mail_plugins = " metadata" passdb { driver = pam } plugin { metadata_dict = proxy::metadata } protocols = " imap" service dict { unix_listener dict { group = dovecot mode = 0666 } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { driver = passwd } protocol imap { mail_plugins = " metadata imap_metadata imap_annotatemore" } Best regards, Thomas Koch, http://www.koch.ro
Georg C. F. Greve
2012-Jan-16 16:13 UTC
[Dovecot] [Kolab-devel] Trying to get metadata plugin working
On Monday 16 January 2012 16.51:45 Thomas Koch wrote:> I'm working on a Kolab related project and wanted to use dovecot on my dev > machine.Very interesting. Please document your findings in wiki.kolab.org once you're done.> dict: Error: file dict commit: file_dotlock_open(~/Maildir/shared-metadata) > failed: No such file or directoryCan't really help with that one, I'm afraid. Best regards, Georg -- Georg C. F. Greve Chief Executive Officer Kolab Systems AG Z?rich, Switzerland e: greve at kolabsys.com t: +41 78 904 43 33 w: http://kolabsys.com pgp: 86574ACA Georg C. F. Greve -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 308 bytes Desc: This is a digitally signed message part. URL: <http://dovecot.org/pipermail/dovecot/attachments/20120116/4ab2c2dd/attachment-0004.bin>
On 16.1.2012, at 17.51, Thomas Koch wrote:> dict: Error: file dict commit: file_dotlock_open(~/Maildir/shared-metadata) > failed: No such file or directoryIt's not expanding ~/> dict { > metadata = file:~/Maildir/shared-metadataUse %h/ instead of ~/
Hi Thomas and List! Am Montag, 16. Januar 2012, 16:51:45 schrieb Thomas Koch:> dict: Error: file dict commit: file_dotlock_open(~/Maildir/shared-metadata) > failed: No such file or directoryThe dovecot-metadata is still a work in progress, despite my earlier message reading differently. I assumed because Akonadi began to work (my telnet tests were already successful since a while), that the dovecot plugin would also work, but noticed later that everything was a coincidence. Anyway, my config is: plugin { metadata_dict = proxy::metadata } dict { metadata = file:/var/lib/dovecot/shared-metadata } This appears to work for me - I think the key is the proxy::. --Dennis -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://dovecot.org/pipermail/dovecot/attachments/20120124/62e0930b/attachment-0004.bin>