diff --git a/Changes b/Changes index 4b5a02e..2d0eabd 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/plugins/virus/clamdscan b/plugins/virus/clamdscan index 1c35626..569b044 100644 --- a/plugins/virus/clamdscan +++ b/plugins/virus/clamdscan @@ -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) );