Re: [Dovecot] IMAP Get Savedate plugin

2009-05-21 Thread Timo Sirainen
On Thu, 2009-05-21 at 04:54 +, Alaa Ibrahim wrote: > I'm trying to put it in a plugin, but when I call > imap_fetch_handlers_register(), it works > but all other fetch handlers get removed, my init is Oh, that's because my code looks like: struct imap_fetch_context *imap_fetch_init(struct cl

Re: [Dovecot] IMAP Get Savedate plugin

2009-05-20 Thread Alaa Ibrahim
I'm trying to put it in a plugin, but when I call imap_fetch_handlers_register(), it works but all other fetch handlers get removed, my init is void savedate_plugin_init(void) { const struct imap_fetch_handler savedate_handler[1] = { { "X-SAVEDATE", fetch_x_savedate_init } };

Re: [Dovecot] IMAP Get Savedate plugin

2009-05-20 Thread Timo Sirainen
On Thu, 2009-05-21 at 00:25 +, Alaa Ibrahim wrote: > I want to add a feature to the fetch command in IMAP, by enabling it to > return the save > date, when I request the SAVEDATE parameter. > I want to use this for my webmail application, so I can show the users the > deleted date > when they

[Dovecot] IMAP Get Savedate plugin

2009-05-20 Thread Alaa Ibrahim
Hi, I want to add a feature to the fetch command in IMAP, by enabling it to return the save date, when I request the SAVEDATE parameter. I want to use this for my webmail application, so I can show the users the deleted date when they are viewing the Trash folder. I was able to put it directly i