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)


git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.3x@621 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Ask Bjørn Hansen 2006-02-27 21:43:04 +00:00
parent 351f0b7f7f
commit 00a73023c8
2 changed files with 7 additions and 1 deletions

View File

@ -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 0.32 - 2006/02/26
Add logging/file plugin for simple logging to a file (Devin Carraway and Add logging/file plugin for simple logging to a file (Devin Carraway and

View File

@ -155,7 +155,7 @@ sub hook_data_post {
unless ( $clamd->ping() ) { unless ( $clamd->ping() ) {
$self->log( LOGERROR, "Cannot ping clamd server - did you provide the correct clamd port or socket?" ); $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) ) { if ( my %found = $clamd->scan($filename) ) {