From e92f7653d5a13082f121dd187f0cf501d0888895 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 2 Jun 2021 20:16:21 +0200 Subject: [PATCH] pilerimport should not use the mmap_dedup_test feature Signed-off-by: Janos SUTO --- src/pilerimport.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pilerimport.c b/src/pilerimport.c index 3be6541f..36027604 100644 --- a/src/pilerimport.c +++ b/src/pilerimport.c @@ -316,6 +316,9 @@ int main(int argc, char **argv){ /* make sure we don't discard messages without a valid Message-Id when importing manually */ cfg.archive_emails_not_having_message_id = 1; + /* The mmap_dedup_test feature is expected to work with the piler daemon only */ + cfg.mmap_dedup_test = 0; + if(read_key(&cfg)){ printf("%s\n", ERR_READING_KEY); return ERR;