diff options
-rw-r--r-- | common/smtppass.c | 1 | ||||
-rw-r--r-- | src/clamsmtpd.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/common/smtppass.c b/common/smtppass.c index ef4b4b3..db88e23 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -1063,6 +1063,7 @@ static int clam_scan_file(clamsmtp_context_t* ctx, const char* tempname, char* l if(is_last_word(ctx->line, CLAM_ERROR, KL(CLAM_ERROR))) { messagex(ctx, LOG_ERR, "clamav error: %s", ctx->line); + add_to_logline(logline, "status=ERROR"); return -1; } diff --git a/src/clamsmtpd.c b/src/clamsmtpd.c index ef4b4b3..db88e23 100644 --- a/src/clamsmtpd.c +++ b/src/clamsmtpd.c @@ -1063,6 +1063,7 @@ static int clam_scan_file(clamsmtp_context_t* ctx, const char* tempname, char* l if(is_last_word(ctx->line, CLAM_ERROR, KL(CLAM_ERROR))) { messagex(ctx, LOG_ERR, "clamav error: %s", ctx->line); + add_to_logline(logline, "status=ERROR"); return -1; } |