From a24c01973f5ea01ee526d378290734579d52e70c Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Sun, 30 May 2021 21:11:47 +0200 Subject: [PATCH] doveadm fts rescan clears the indices, we don't want that --- conf/cron/miab_dovecot | 1 - setup/dovecot-fts-xapian.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/conf/cron/miab_dovecot b/conf/cron/miab_dovecot index 7144b8f0..5ed227bd 100644 --- a/conf/cron/miab_dovecot +++ b/conf/cron/miab_dovecot @@ -1,3 +1,2 @@ #!/bin/bash -/usr/bin/doveadm fts rescan -A > /dev/null 2>&1 /usr/bin/doveadm fts optimize -A > /dev/null 2>&1 diff --git a/setup/dovecot-fts-xapian.sh b/setup/dovecot-fts-xapian.sh index 655ab886..df370c67 100644 --- a/setup/dovecot-fts-xapian.sh +++ b/setup/dovecot-fts-xapian.sh @@ -82,5 +82,5 @@ doveadm fts rescan -A # * `-q`: Queues the indexing to be run by indexer process. (will background the indexing) # * `-A`: All users # * `'*'`: All folders -doveadm index -q -A '*' +doveadm index -A -q \*