From 190ce71af7e8f9b9ce119841a445d8eca8f4b474 Mon Sep 17 00:00:00 2001 From: SJ Date: Mon, 24 Feb 2014 10:07:20 +0100 Subject: [PATCH] message-id is not mandatory when importing manually --- src/config.h | 2 +- src/pilerimport.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 87d58d57..8b74cbde 100644 --- a/src/config.h +++ b/src/config.h @@ -14,7 +14,7 @@ #define VERSION "0.1.25-master-branch" -#define BUILD 864 +#define BUILD 865 #define HOSTID "mailarchiver" diff --git a/src/pilerimport.c b/src/pilerimport.c index 89dd578b..ac1d5b45 100644 --- a/src/pilerimport.c +++ b/src/pilerimport.c @@ -616,6 +616,9 @@ int main(int argc, char **argv){ cfg = read_config(configfile); + /* make sure we don't discard messages without a valid Message-Id when importing manually */ + cfg.archive_emails_not_having_message_id = 1; + if(read_key(&cfg)){ printf("%s\n", ERR_READING_KEY); return ERR;