Disable the security_header check for imported emails

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-11-28 17:45:37 +01:00
parent 535a4aa61c
commit 8c6560f302

View File

@ -300,6 +300,8 @@ int main(int argc, char **argv){
cfg = read_config(configfile); cfg = read_config(configfile);
memset(cfg.security_header, 0, MAXVAL);
if((data.recursive_folder_names == 1 || data.import->folder) && cfg.enable_folders == 0){ 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"); printf("please set enable_folders=1 in piler.conf to use the folder options\n");
return ERR; return ERR;