[svn:qpsmtpd] r621 - branches/0.3x branches/0.3x/plugins/virus

[email protected] Mon, 27 Feb 2006 13:43:04 -0800 (PST)
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
Author: ask
Date: Mon Feb 27 13:43:04 2006
New Revision: 621

Modified:
   /   (props changed)
   branches/0.3x/Changes
   branches/0.3x/plugins/virus/clamdscan

Log:
 r4522@g5:  ask | 2006-02-27 13:41:42 -0800
 Make the clamdscan plugin temporarily deny mail if if can't talk to clamd
 (Filippo Carletti)


Modified: branches/0.3x/Changes
==============================================================================
--- branches/0.3x/Changes	(original)
+++ branches/0.3x/Changes	Mon Feb 27 13:43:04 2006
@@ -1,3 +1,9 @@
+0.33
+
+   Make the clamdscan plugin temporarily deny mail if if can't talk to clamd
+   (Filippo Carletti)
+
+
 0.32 - 2006/02/26
 
   Add logging/file plugin for simple logging to a file (Devin Carraway and

Modified: branches/0.3x/plugins/virus/clamdscan
==============================================================================
--- branches/0.3x/plugins/virus/clamdscan	(original)
+++ branches/0.3x/plugins/virus/clamdscan	Mon Feb 27 13:43:04 2006
@@ -155,7 +155,7 @@
 
     unless ( $clamd->ping() ) {
     $self->log( LOGERROR, "Cannot ping clamd server - did you provide the correct clamd port or socket?" );
-    return DECLINED;
+    return DENYSOFT;
     }
 
     if ( my %found = $clamd->scan($filename) ) {