On Mon, 6 Nov 2017 09:50:16 -0500 Tanstaafl <tanstaafl at libertytrek.org> wrote:> On 11/6/2017, 4:01:19 AM, Stephan von Krawczynski <skraw.ml at ithnet.com> > wrote: > > Still we are not content with it touching/locking dovecot.index.log. If > > someone pointed at one location in the code where this could be disabled we > > would implement a new param for switching that off. > > ????????????????????????? > > Dovecot's indexing is one of its main features, and WHY it is so much > faster than others. > > And you want to just turn it off? Good luck...It seems you have not understood what I am talking about. Our pre-dovecot lda did not touch the index either. And it did not harm the imap/pop procedure in any way. So we know there is no need to fiddle with the index in the process of delivery into the maildirs to keep our performance as it was before. -- Regards, Stephan
On 07/11/2017 09:18, Stephan von Krawczynski wrote:> On Mon, 6 Nov 2017 09:50:16 -0500 > Tanstaafl <tanstaafl at libertytrek.org> wrote: > > On 11/6/2017, 4:01:19 AM, Stephan von Krawczynski <skraw.ml at ithnet.com> > wrote: Still we are not content with it touching/locking dovecot.index.log. If > someone pointed at one location in the code where this could be disabled we > would implement a new param for switching that off. > ????????????????????????? > > Dovecot's indexing is one of its main features, and WHY it is so much > faster than others. > > And you want to just turn it off? Good luck...It seems you have not understood what I am talking about. Our pre-dovecot lda did not touch the index either. And it did not harm the imap/pop procedure in any way. So we know there is no need to fiddle with the index in the process of delivery into the maildirs to keep our performance as it was before. mail_location Optionally disable indexes using :INDEX=MEMORY don't use this on IMAP boxes, but is safe to use on SMTP and POP3's boxes though eg: mail_location maildir:/var/vmail/%Ld/%1Ln/%1.1Ln/%2.1Ln/%Ln/Maildir:INDEX=MEMORY -- Kind Regards, Noel Butler This Email, including any attachments, may contain legally privileged information, therefore remains confidential and subject to copyright protected under international law. You may not disseminate, discuss, or reveal, any part, to anyone, without the authors express written authority to do so. If you are not the intended recipient, please notify the sender then delete all copies of this message including attachments, immediately. Confidentiality, copyright, and legal privilege are not waived or lost by reason of the mistaken delivery of this message. Only PDF [1] and ODF [2] documents accepted, please do not send proprietary formatted documents Links: ------ [1] http://www.adobe.com/ [2] http://en.wikipedia.org/wiki/OpenDocument
On Tue, 07 Nov 2017 13:19:12 +1000 Noel Butler <noel.butler at ausics.net> wrote:> mail_location Optionally disable indexes using :INDEX=MEMORY > > don't use this on IMAP boxes, but is safe to use on SMTP and POP3's > boxes though > > eg: > > mail_location > maildir:/var/vmail/%Ld/%1Ln/%1.1Ln/%2.1Ln/%Ln/Maildir:INDEX=MEMORY > > -- > Kind Regards, > > Noel ButlerHello Noel, this sounds interesting. Can you please elaborate why you think this is no good idea for IMAP? We used a different LDA-scheme before (simply created the mail in maildir/tmp, then renamed it to maildir/new, just like Bernstein suggests to do) and it worked very well, no matter if the box was used whith IMAP or POP3. Why should there be any difference in using dovecot-lda without indexes? Does dovecot-lda "create" the new mail by atomic rename from tmp, too? -- Regards, Stephan
On 11/6/2017, 6:18:43 PM, Stephan von Krawczynski <skraw.ml at ithnet.com> wrote:> On Mon, 6 Nov 2017 09:50:16 -0500 Tanstaafl <tanstaafl at libertytrek.org> wrote: >> Dovecot's indexing is one of its main features, and WHY it is so much >> faster than others. >> >> And you want to just turn it off? Good luck...> It seems you have not understood what I am talking about. Our pre-dovecot lda > did not touch the index either. And it did not harm the imap/pop procedure in > any way. So we know there is no need to fiddle with the index in the process > of delivery into the maildirs to keep our performance as it was before.Apparently I'm still missing something... Sure, you may be keeping your performance at pre-dovecot levels - but why on earth would that even be a goal? One of the main reasons I switched from Courier to Dovecot a very long time ago was for the expected performance boost from the use of the indexes, which were automatically updated at delivery time (if you used the LDA), and the boost was huge, I was extremely pleased with the results. There is no 'fiddling', it just works.