Hello everyone! I just released dovecot-metadata-8, which is an implementation of RFC 5464 (IMAP METADATA), allowing to add comments/annotations/metadata to folders of an email account. 2012-06-04: Version 9 * Added Dovecot 2.1 compatibility * Fixed compliance with RFC 5464 Section 3.2 * Separated backend code into library * Synced code of imap-annotatemore with imap-metadata * Improved error messages * Several bugfixes (incl. segfaults) * Minor cleanups Please get the code from [1] and send me an email for any problem you find. For more information please refer to my email from Sun, 12 Jun 2011 15:55:57 +0200 titled "dovecot-metadata-8 released". Kind regards, Dennis [1] http://hg.dovecot.org/dovecot-metadata-plugin -------------- 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/20120604/1c36c2bc/attachment-0004.bin>
Op 6/4/2012 4:32 PM, Dennis Schridde schreef:> For more information please refer to my email from Sun, 12 Jun 2011 15:55:57 > +0200 titled "dovecot-metadata-8 released".http://www.dovecot.org/list/dovecot/2011-June/059630.html Regards, Stephan.
Hello Nick! I am sorry - I forgot to mention that you need attached patch for dovecot. Kind regards, Dennis Am Dienstag, 5. Juni 2012, 11:28:27 schrieb Nick Rosier:> Hi Dennis, > > I'm trying to compile the plugin on FreeBSD 9 with Dovecot 2.1.7 and get > the following error: > > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. > -I/usr/local/include/dovecot -g -O2 -MT mailbox-ext.lo -MD -MP -MF > .deps/mailbox-ext.Tpo -c mailbox-ext.c -fPIC -DPIC -o > .libs/mailbox-ext.o mailbox-ext.c:25:19: error: missing binary operator > before token "(" > mailbox-ext.c: In function 'mailbox_get_guid_string': mailbox-ext.c:32: > error: 'MAIL_GUID_128_SIZE' undeclared (first use in this function) > mailbox-ext.c:32: error: (Each undeclared identifier is reported only > once mailbox-ext.c:32: error: for each function it appears in.) > mailbox-ext.c:33: warning: implicit declaration of function > 'mailbox_get_guid' > *** Error code 1 > Stop in /root/work/dovecot-metadata-plugin-6fe39779d758/src. *** Error > code 1 > > Removing DOVECOT_PREREQ and "forcing" to use the 2.1 definition fixes > that (I couldn't find anywhere where that macro was defined). > > Next I get another error, again caused by the DOVECOT_PREREQ: > > libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. > -I/usr/local/include/dovecot -g -O2 -MT imap-metadata-plugin.lo -MD -MP > -MF .deps/imap-metadata-plugin.Tpo -c imap-metadata-plugin.c -fPIC > -DPIC -o .libs/imap-metadata-plugin.o > imap-metadata-plugin.c: In function 'is_valid_rfc5464_entry_name': > imap-metadata-plugin.c:162: warning: comparison is always false due to > limited range of data type > imap-metadata-plugin.c:513:19: error: missing binary operator before > token "(" > imap-metadata-plugin.c: In function 'cmd_getmetadata': > imap-metadata-plugin.c:516: warning: passing argument 2 of > 'mail_namespace_find' from incompatible pointer type > imap-metadata-plugin.c: In function 'setmetadata_helper': > imap-metadata-plugin.c:596: warning: 'return' with a value, in function > returning void > imap-metadata-plugin.c:672:19: error: missing binary operator before > token "(" > imap-metadata-plugin.c: In function 'cmd_setmetadata': > imap-metadata-plugin.c:675: warning: passing argument 2 of > 'mail_namespace_find' from incompatible pointer type > *** Error code 1 > > Am I missing something on my system? > > Rgds, > N. > > Dennis Schridde wrote: > > Hello everyone! > > > > I just released dovecot-metadata-8, which is an implementation of RFC 5464 > > (IMAP METADATA), allowing to add comments/annotations/metadata to folders > > of an email account. > > > > 2012-06-04: Version 9 > > > > * Added Dovecot 2.1 compatibility > > * Fixed compliance with RFC 5464 Section 3.2 > > * Separated backend code into library > > * Synced code of imap-annotatemore with imap-metadata > > * Improved error messages > > * Several bugfixes (incl. segfaults) > > * Minor cleanups > > > > Please get the code from [1] and send me an email for any problem you > > find. > > > > For more information please refer to my email from Sun, 12 Jun 2011 > > 15:55:57 +0200 titled "dovecot-metadata-8 released". > > > > Kind regards, > > Dennis > > > > [1] http://hg.dovecot.org/dovecot-metadata-plugin-------------- next part -------------- A non-text attachment was scrubbed... Name: dovecot-2.1-b144c7d3bb67+4ee2e23710fb-dovecot-prereq.patch Type: text/x-patch Size: 2036 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20120605/15b413e7/attachment-0004.bin>
Hi Dennis, This fixed the problem. Thanks! Rgds, N. Dennis Schridde wrote:> Hello Nick! > > I am sorry - I forgot to mention that you need attached patch for dovecot. > > Kind regards, > Dennis > > Am Dienstag, 5. Juni 2012, 11:28:27 schrieb Nick Rosier: >> Hi Dennis, >> >> I'm trying to compile the plugin on FreeBSD 9 with Dovecot 2.1.7 and get >> the following error: >> >> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. >> -I/usr/local/include/dovecot -g -O2 -MT mailbox-ext.lo -MD -MP -MF >> .deps/mailbox-ext.Tpo -c mailbox-ext.c -fPIC -DPIC -o >> .libs/mailbox-ext.o mailbox-ext.c:25:19: error: missing binary operator >> before token "(" >> mailbox-ext.c: In function 'mailbox_get_guid_string': mailbox-ext.c:32: >> error: 'MAIL_GUID_128_SIZE' undeclared (first use in this function) >> mailbox-ext.c:32: error: (Each undeclared identifier is reported only >> once mailbox-ext.c:32: error: for each function it appears in.) >> mailbox-ext.c:33: warning: implicit declaration of function >> 'mailbox_get_guid' >> *** Error code 1 >> Stop in /root/work/dovecot-metadata-plugin-6fe39779d758/src. *** Error >> code 1 >> >> Removing DOVECOT_PREREQ and "forcing" to use the 2.1 definition fixes >> that (I couldn't find anywhere where that macro was defined). >> >> Next I get another error, again caused by the DOVECOT_PREREQ: >> >> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. >> -I/usr/local/include/dovecot -g -O2 -MT imap-metadata-plugin.lo -MD -MP >> -MF .deps/imap-metadata-plugin.Tpo -c imap-metadata-plugin.c -fPIC >> -DPIC -o .libs/imap-metadata-plugin.o >> imap-metadata-plugin.c: In function 'is_valid_rfc5464_entry_name': >> imap-metadata-plugin.c:162: warning: comparison is always false due to >> limited range of data type >> imap-metadata-plugin.c:513:19: error: missing binary operator before >> token "(" >> imap-metadata-plugin.c: In function 'cmd_getmetadata': >> imap-metadata-plugin.c:516: warning: passing argument 2 of >> 'mail_namespace_find' from incompatible pointer type >> imap-metadata-plugin.c: In function 'setmetadata_helper': >> imap-metadata-plugin.c:596: warning: 'return' with a value, in function >> returning void >> imap-metadata-plugin.c:672:19: error: missing binary operator before >> token "(" >> imap-metadata-plugin.c: In function 'cmd_setmetadata': >> imap-metadata-plugin.c:675: warning: passing argument 2 of >> 'mail_namespace_find' from incompatible pointer type >> *** Error code 1 >> >> Am I missing something on my system? >> >> Rgds, >> N. >> >> Dennis Schridde wrote: >>> Hello everyone! >>> >>> I just released dovecot-metadata-8, which is an implementation of RFC 5464 >>> (IMAP METADATA), allowing to add comments/annotations/metadata to folders >>> of an email account. >>> >>> 2012-06-04: Version 9 >>> >>> * Added Dovecot 2.1 compatibility >>> * Fixed compliance with RFC 5464 Section 3.2 >>> * Separated backend code into library >>> * Synced code of imap-annotatemore with imap-metadata >>> * Improved error messages >>> * Several bugfixes (incl. segfaults) >>> * Minor cleanups >>> >>> Please get the code from [1] and send me an email for any problem you >>> find. >>> >>> For more information please refer to my email from Sun, 12 Jun 2011 >>> 15:55:57 +0200 titled "dovecot-metadata-8 released". >>> >>> Kind regards, >>> Dennis >>> >>> [1] http://hg.dovecot.org/dovecot-metadata-plugin