[Dovecot] fts_lucene - hiding lucene-indexes folder? - or make it configurable
Gregory Finch
gfinch at ldmltd.ca
Fri May 9 18:30:34 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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,
Greg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJTbR7KAAoJECD7Htp+IT9e07cQALtJ8IHANrjWS54p1dpY/zfC
GOKVS0gJuODcusJJXwOxwQxrCq74VRuxL07dp7myVfP+ZZybrHKYzb5nT12HGc5v
fdb72aeBXdXXNfAIWdm82Jcbz8nbpwZQm3IK1G2+dUqkDRygb0muVrvCjbx5HV8G
ub7kxMHTyMifbfq88eiAHfg1qINQBRxeECtDMgyyOpCrc4yu8yPZ7E7fDNLuheY4
WROBLMAeHyfcf+nIIcVVpIYKM0C69J6wWh14uz3zKayK2TNoGu6J0TYtAT+ImCdx
dEUWiMbWqjfBMOCpW0Dyv8fy7wRMM4q/XTjc7AuWYNiM+hjzZfJ1ysdD+VTlIG8i
r3m68YQPhfbnwr8608H2ZlvI1rzo6duxvSusi5OlmaF6FA/twz+w8EG7DhqqSodf
8eSVk2E426E2sXCBt7h0QaE9jBLUUgk1C0pHGvulpLJ3hGAOuMybqWx7d6LCNUFj
LHpzP5aLXBaPtphiniBe3jt8foyVuTNxAYXAKr/g03Y3HRTcLLLwrIY/BW3yROIH
u/XcqsPGzSc2xsiLAdVjJZbfv62EkTtj/VkwL6Z/JXXEsXy4IEYlYOM/AaUW3A6+
zKsZT27DTZ71SxmkIVtUq9jRnBGCJ1nMymkMEvzc3wkWeQ63VcnMEJK/DuQ18iGX
MiJ3OdwCGpjk8Vus4H4m
=NwOy
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list