From 8c6560f302d9dc536975b59d36937f0b6770aa54 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sat, 28 Nov 2020 17:45:37 +0100 Subject: [PATCH] Disable the security_header check for imported emails Signed-off-by: Janos SUTO --- src/pilerimport.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pilerimport.c b/src/pilerimport.c index 2291dac5..dcf65338 100644 --- a/src/pilerimport.c +++ b/src/pilerimport.c @@ -300,6 +300,8 @@ int main(int argc, char **argv){ cfg = read_config(configfile); + memset(cfg.security_header, 0, MAXVAL); + if((data.recursive_folder_names == 1 || data.import->folder) && cfg.enable_folders == 0){ printf("please set enable_folders=1 in piler.conf to use the folder options\n"); return ERR;