[Dovecot] fts_lucene - hiding lucene-indexes folder? - or make it configurable

Robert Schetterer rs at sys4.de
Fri May 9 20:13:18 UTC 2014


Am 09.05.2014 20:30, schrieb Gregory Finch:
> On 2014-05-09 10:38 AM, Robert Schetterer wrote:
>> Am 09.05.2014 19:27, schrieb Larry Rosenman:
>>> I'm using mbox, so it DOES show up.
>>>
> 
> --snip--
> 
>>> }
> 
>> i am not using mbox , didnt analyse your conf very deeply
>> but my bet is ,your namespace and/or directory layout setup is the problem
> 
> 
>> perhaps reread
> 
>> http://wiki2.dovecot.org/MboxChildFolders?highlight=%28index%29
> 
>> http://wiki2.dovecot.org/Plugins/FTS/Lucene
> 
>> Requires Dovecot v2.1+ to work properly. The CLucene version must be
>> v2.3 (not v0.9). Dovecot builds only a single Lucene index for all
>> mailboxes. The Lucene indexes are stored in lucene-indexes/ directory
>> under the mail root index directory (e.g. ~/Maildir/lucene-indexes/).
> 
>> so perhaps you need configure index directory seperate/extra setting etc
> 
>>>
>>> thebighonker.lerctr.org <http://thebighonker.lerctr.org> /home/ler $      
>>>
>>>
>>>
>>> On Fri, May 9, 2014 at 12:24 PM, Robert Schetterer <rs at sys4.de
>>> <mailto:rs at sys4.de>> wrote:
>>>
>>>     Am 09.05.2014 18:20, schrieb Nicholas Riley:
>>>     > Hi,
>>>     >
>>>     > Is there any way to hide this folder from IMAP clients?  I can see
>>>     it is
>>>     > not runtime configurable and just #defined as LUCENE_INDEX_DIR_NAME in
>>>     > fts-backend-lucene.c.
>>>     >
>>>
>>>     you shouldnt see it, guess you configured something wrong like
>>>
>>>     i.e
>>>
>>>     maildir_stat_dirs=no (default): Assume that all the files beginning with
>>>     a dot in the maildir are maildirs. You shouldn't have any non-directory
>>>     files beginning with a dot in the maildirs, but if you do you may need
>>>     to set this to "yes", in which case Dovecot needs to stat() each
>>>     directory entry, which degrades the performance. Some filesystems
>>>     provide the directory/non-directory status for free without having to
>>>     stat(). In those filesystems this setting is ignored.
>>>
>>>     etc
>>>
>>>     post your full dove conf to give chance for analysis
>>>
>>>
>>>
>>>     Best Regards
>>>     MfG Robert Schetterer
>>>
>>>     --
>>>     [*] sys4 AG
>>>
>>>     http://sys4.de, +49 (89) 30 90 46 64
>>>     <tel:%2B49%20%2889%29%2030%2090%2046%2064>
>>>     Franziskanerstraße 15, 81669 München
>>>
>>>     Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
>>>     Vorstand: Patrick Ben Koetter, Marc Schiffbauer
>>>     Aufsichtsratsvorsitzender: Florian Kirstein
>>>
>>>
>>>
>>>
>>> -- 
>>> Larry Rosenman                     http://www.lerctr.org/~ler
>>> Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com
>>> <mailto:larryrtx at gmail.com>
>>> US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
> 
> 
> 
>> Best Regards
>> MfG Robert Schetterer
> 
> 
> 
> This is the same question I asked the list last week. There is no
> configuration directive listed on either of the two wiki pages you
> linked to above. My system is using Maildir with LAYOUT=fs, and my
> clients see the lucene-indexes folder as well, although it is not
> selectable.
> 
> My ideal case would be to move it to the home directory instead of the
> mail root directory, but I think the best option would be for it to be
> configurable similar to INDEXes, etc.
> 
> I can make an attempt at a patch, but it will take me a while to get up
> to speed on dovecot sources...
> 
> Thank you,

Hi Greg ,sounds plausible to me, you should contact Timo about this

> 
> Greg
> 
> 

Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


More information about the dovecot mailing list