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 | 173a3598221092ae6a535bbc07a7fa9a738c2e57 (patch) | |
tree | c7ca8a14266cd5000fc1f50fbf7c065b3f0dcf38 /common | |
parent | 8e939b2c5f75b77278636cc5212d772e00328b44 (diff) |
- Note ClamAV errors in logline
Diffstat (limited to 'common')
-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; } |