Re: [Dovecot] maildrop index update

2009-09-02 Thread Timo Sirainen
On Sep 2, 2009, at 9:28 PM, ferna...@dfcom.com.br wrote: Can I just "replace" the function called to save the message in the maildir (and update the indexes) by the dovecot one? I don't know about maildrop code, but "maybe". But Dovecot doesn't just have a "save message" function. You need t

Re: [Dovecot] maildrop index update

2009-09-02 Thread fernando
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, Fernand

Re: [Dovecot] maildrop index update

2009-09-02 Thread Timo Sirainen
On Wed, 2009-09-02 at 19:12 -0300, ferna...@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.

Re: [Dovecot] maildrop index update

2009-09-02 Thread fernando
Very interesting...I don´t like the idea maildrop calling dovecot deliver (as an external program). 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' functio

Re: [Dovecot] maildrop index update

2009-09-02 Thread Timo Sirainen
On Wed, 2009-09-02 at 18:23 -0300, ferna...@dfcom.com.br wrote: > How can I insert a piece of code at maildrop allowing it to update the > dovecot indexes (which lib and/or function from dovecot I need to use ?) You can't really just update indexes, at least not without a lot of code. What you cou

[Dovecot] maildrop index update

2009-09-02 Thread fernando
Hi, I´m using a multi-storage architecture in my email environment and maildrop as deliver command at mta. But to this deliver the mx servers mount nfs partitions - we need to use maildrop because many patches we inserted. How can I insert a piece of code at maildrop allowing it to update the do