/[smeserver]/rpms/qpsmtpd/sme7/qpsmtpd-0.40-denysoft.patch
ViewVC logotype

Annotation of /rpms/qpsmtpd/sme7/qpsmtpd-0.40-denysoft.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 26 18:35:59 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_40-1_5_el4_sme, qpsmtpd-0_40-1_7_el4_sme, qpsmtpd-0_40-1_4_el4_sme, qpsmtpd-0_40-1_9_el4_sme, qpsmtpd-0_40-1_6_el4_sme, qpsmtpd-0_40-1_12_el4_sme, qpsmtpd-0_40-1_10_el4_sme, qpsmtpd-0_40-1_11_el4_sme
Branch point for: qpsmtpd-0_40
Updates

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/virus/clamav mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamav
2     --- qpsmtpd-0.40/plugins/virus/clamav 2007-06-25 15:39:06.000000000 -0600
3     +++ mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamav 2007-06-25 15:38:42.000000000 -0600
4     @@ -202,7 +202,7 @@
5    
6     if ($signal) {
7     $self->log(LOGINFO, "clamscan exited with signal: $signal");
8     - return (DECLINED);
9     + return (DENYSOFT);
10     }
11     if ($result == 1) {
12     $self->log(LOGINFO, "Virus(es) found: $output");
13     @@ -215,7 +215,11 @@
14     }
15     elsif ($result) {
16     $self->log(LOGERROR, "ClamAV error: $cmd: $result\n");
17     + return (DENYSOFT);
18     }
19     +
20     + $transaction->header->add( 'X-Virus-Checked',
21     + "Checked by ClamAV on " . $self->qp->config("me") );
22     return (DECLINED);
23     }
24    
25     diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/virus/clamdscan mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamdscan
26     --- qpsmtpd-0.40/plugins/virus/clamdscan 2007-06-14 11:57:23.000000000 -0600
27     +++ mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamdscan 2007-06-25 15:38:21.000000000 -0600
28     @@ -154,8 +154,8 @@
29     }
30    
31     unless ( $clamd->ping() ) {
32     - $self->log( LOGERROR, "Cannot ping clamd server - did you provide the correct clamd port or socket?" );
33     - return DENYSOFT;
34     + $self->log( LOGERROR, "Cannot ping clamd server - did you provide the correct clamd port or socket?" );
35     + return DENYSOFT;
36     }
37    
38     if ( my %found = $clamd->scan($filename) ) {

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed