message-id is not mandatory when importing manually

This commit is contained in:
SJ 2014-02-24 10:07:20 +01:00
parent 3c4ed238f2
commit 190ce71af7
2 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@
#define VERSION "0.1.25-master-branch" #define VERSION "0.1.25-master-branch"
#define BUILD 864 #define BUILD 865
#define HOSTID "mailarchiver" #define HOSTID "mailarchiver"

View File

@ -616,6 +616,9 @@ int main(int argc, char **argv){
cfg = read_config(configfile); 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)){ if(read_key(&cfg)){
printf("%s\n", ERR_READING_KEY); printf("%s\n", ERR_READING_KEY);
return ERR; return ERR;