diff options
author | Stef Walter <stef@memberwebs.com> | 2004-07-21 23:24:13 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-07-21 23:24:13 +0000 |
commit | f08fabf9e95f5192de65ea9108e6bf803637d729 (patch) | |
tree | bcbde47fd67bec86a1c89d995a4a890c1929e4bd | |
parent | 533f0d0fc137cbc52f06a61c6e250a87d55105cf (diff) |
- Note ClamAV errors in logline
-rw-r--r-- | common/smtppass.c | 1 |
1 files changed, 1 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; } |