[svn:qpsmtpd] r587 - trunk trunk/plugins/virus
[email protected] 16 Dec 2005 22:27:28 -0000
| Newsgroups | perl.cvs.qpsmtpd |
|---|---|
| Message-ID | <[email protected]> |
Author: ask
Date: Fri Dec 16 14:27:27 2005
New Revision: 587
Modified:
/ (props changed)
trunk/Changes
trunk/plugins/virus/clamdscan
Log:
r2614@g5: ask | 2005-12-16 14:27:01 -0800
Make the clamdscan plugin temporarily deny mail if if can't talk to clamd
(Filippo Carletti)
Modified: trunk/Changes
==============================================================================
--- trunk/Changes (original)
+++ trunk/Changes Fri Dec 16 14:27:27 2005
@@ -1,3 +1,9 @@
+0.40
+
+ Make the clamdscan plugin temporarily deny mail if if can't talk to clamd
+ (Filippo Carletti)
+
+
0.31 -
qpsmtpd-forkserver: --listen-address may now be given more than once, to
Modified: trunk/plugins/virus/clamdscan
==============================================================================
--- trunk/plugins/virus/clamdscan (original)
+++ trunk/plugins/virus/clamdscan Fri Dec 16 14:27:27 2005
@@ -153,7 +153,7 @@ sub hook_data_post {
$clamd = Clamd->new(); # default unix domain socket
}
- return (DECLINED) unless $clamd->ping();
+ return (DENYSOFT) unless $clamd->ping();
if ( my %found = $clamd->scan($filename) ) {
my $viruses = join( ",", values(%found) );