mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:20:12 +01:00
fixed status value for infected emails
Change-Id: I1e6418aad09c59474e64d280f4512147f7813e26 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
a3041d8251
commit
78d52fe06c
@ -485,6 +485,7 @@ void process_data(struct session_ctx *sctx){
|
||||
syslog(LOG_PRIORITY, "%s: found virus: %s", sctx->sdata->ttmpfile, sctx->virusinfo);
|
||||
sctx->counters->c_virus++;
|
||||
sctx->inj = OK;
|
||||
sctx->status = S_STATUS_DISCARDED;
|
||||
} else if(strlen(sctx->sdata->bodydigest) < 10) {
|
||||
syslog(LOG_PRIORITY, "%s: invalid digest", sctx->sdata->ttmpfile);
|
||||
sctx->inj = ERR;
|
||||
|
Loading…
Reference in New Issue
Block a user