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:
 [EMAIL PROTECTED]:  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) ) {

Reply via email to