grosjo / fts-xapian

Dovecot FTS plugin based on Xapian
GNU Lesser General Public License v2.1
91 stars 19 forks source link

Folder xapian-indexes shows up as IMAP folder for clients #115

Closed madduck closed 2 years ago

madduck commented 2 years ago

The plugin puts the indices into a folder xapian-indexes in the mail root folder. While not a valid Maildir, this still causes clients, such as Apple Mail and Thunderbird to show a new folder, when Dovecot is configured with layout=fs.

Could the location of the indices be made configurable? Ideally, I'd like for the indices to sit outside of the mail root, even.

DerLinkman commented 2 years ago

Would like to request this feature as well!

We´re currently replacing solr with XAPIAN (for the mailcow-dockerized project) and it would be awesome to set the path of the indexes.

grosjo commented 2 years ago

@madduck @DerLinkman Location of indexes is a dovecot feature https://doc.dovecot.org/configuration_manual/mail_location/ this plugin follow the said confiruation in dovecot.conf

grosjo commented 2 years ago

example : mail_location = mdbox:/MYLOCATION/%d/%n:INDEX=/OTHERLCOATION/%d/%n

DerLinkman commented 2 years ago

Thank you @grosjo ! I didn´t knew that.

grosjo commented 2 years ago

@DerLinkman @madduck I beleive this is solved. Reopen if you feel so