lazy_expunge and fts_autoindex

Gregory Heytings ghe at sdf.org
Sat Aug 29 22:25:15 EEST 2020


> 
> Maybe try
> 
> fts_autoindex_exclude = \EXPUNGED
>

I just tried, it doesn't work...  It should not have worked, the 
documentation says that names starting with a backslash are for IMAP 
flags, like \Junk or \Trash.

> 
> I have both lazy_expunge and fts_autoindex activated (with fts-xapian), 
> as follows:
>
> plugin {
> lazy_expunge = EXPUNGED/
> }
>
> plugin {
> fts = xapian
> fts_xapian = partial=2 full=20 attachments=1 verbose=0
> fts_autoindex = yes
> fts_enforced = yes
> fts_autoindex_exclude = EXPUNGED
> fts_autoindex_exclude2 = EXPUNGED/*
> }
>
> However, I still see "indexer-worker...: Info: Indexed 1 messages in 
> EXPUNGED/..." in the dovecot log each time I expunge an email.  I tried 
> various other settings for "fts_autoindex_exclude" (EXPUNGED alone, 
> EXPUNGED + EXPUNGED/ + EXPUNGED/*, ...), but none of them seem to work.
> 
> Thanks for your help,
> 
> Gregory
>


More information about the dovecot mailing list