diff --git a/src/config.h b/src/config.h index c2f8a5db..0451a43e 100644 --- a/src/config.h +++ b/src/config.h @@ -14,7 +14,7 @@ #define VERSION "0.1.25-master-branch" -#define BUILD 855 +#define BUILD 856 #define HOSTID "mailarchiver" diff --git a/src/parser.c b/src/parser.c index aad91b1e..b336baa4 100644 --- a/src/parser.c +++ b/src/parser.c @@ -186,7 +186,7 @@ int parse_line(char *buf, struct _state *state, struct session_data *sdata, int sdata->spam_message = 1; } - if(state->is_1st_header == 1 && sdata->ms_journal == 0 && strncmp(buf, "X-MS-Journal-Report:", strlen("X-MS-Journal-Report:")) == 0){ + if(state->is_1st_header == 1 && sdata->ms_journal == 0 && (strncmp(buf, "X-MS-Journal-Report:", strlen("X-MS-Journal-Report:")) == 0 || strncmp(buf, "X-MS-Exchange-Organization-Auth", strlen("X-MS-Exchange-Organization-Auth")) == 0)){ sdata->ms_journal = 1; memset(state->message_id, 0, SMALLBUFSIZE);