Can I just "replace" the function called to save the message in the maildir (and update the indexes) by the dovecot one? Do I need to copy the code to load configuration when using only the api functions ?
P.s: how about v2.0 - what is the stage? Is there any date to be released ?
Thanks, Fernando
On Wed, 2009-09-02 at 19:12 -0300, fernando@dfcom.com.br wrote:
But I like the idea maildrop calling the dovecot api to save the message into the maildir.
And yes, my patches don´t touch the maildir delivery. So, I can just change the maildrop 'deliver' function and call the dovecot one.
Do you have any tip how to do that, I mean, witch function to use there ?
I suppose you'd have to copy&paste quite a lot of code from deliver.c to read configuration. Dovecot v2.0 makes this a lot easier.
How about quota, can I let maildrop or dovecot (through the api) update it (I believe that let maildrop do that makes more sense)?
If you load quota plugin, Dovecot does it.