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:
parent
351f0b7f7f
commit
00a73023c8
6
Changes
6
Changes
@ -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
|
||||||
|
@ -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) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user