1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.32/plugins/virus/clamav mezzanine_patched_qpsmtpd-0.32/plugins/virus/clamav |
2 |
|
|
--- qpsmtpd-0.32/plugins/virus/clamav 2006-02-26 05:22:16.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_qpsmtpd-0.32/plugins/virus/clamav 2007-03-07 11:47:15.000000000 -0700 |
4 |
|
|
@@ -203,6 +203,10 @@ |
5 |
|
|
elsif ($result) { |
6 |
|
|
$self->log(LOGERROR, "ClamAV error: $cmd: $result\n"); |
7 |
|
|
} |
8 |
|
|
+ else { |
9 |
|
|
+ $transaction->header->add( 'X-Virus-Checked', |
10 |
|
|
+ "Checked by ClamAV on " . $self->qp->config("me") ); |
11 |
|
|
+ } |
12 |
|
|
return (DECLINED); |
13 |
|
|
} |
14 |
|
|
|