pilerimport should not use the mmap_dedup_test feature

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2021-06-02 20:16:21 +02:00
parent a73d056d99
commit e92f7653d5

View File

@ -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;