From e284d15801b34e9ee9009cc9681ab1183d5a5a46 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Mon, 26 Feb 2018 17:38:17 +0100 Subject: [PATCH] reset rcpt_domain hash as well for journaled messages after the journal header is found Signed-off-by: Janos SUTO --- src/config.h | 2 +- src/parser.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 22d2c1fd..e022a47e 100644 --- a/src/config.h +++ b/src/config.h @@ -11,7 +11,7 @@ #define VERSION "1.3.3" -#define BUILD 989 +#define BUILD 990 #define HOSTID "mailarchiver" diff --git a/src/parser.c b/src/parser.c index 45f645e2..8a317ca0 100644 --- a/src/parser.c +++ b/src/parser.c @@ -165,6 +165,7 @@ int parse_line(char *buf, struct parser_state *state, struct session_data *sdata memset(state->b_to_domain, 0, SMALLBUFSIZE); clearhash(state->rcpt); + clearhash(state->rcpt_domain); //if(sdata->import == 0){ sdata->ms_journal = 1;