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

Annotation of /rpms/qpsmtpd/sme7/qpsmtpd-0.40-clamav-headers.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Jun 30 16:52:23 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_40-1_7_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-30 10:49:36.000000000 -0600
3     +++ mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamav 2007-06-30 10:48:46.000000000 -0600
4     @@ -207,8 +207,8 @@
5     if ($result == 1) {
6     $self->log(LOGINFO, "Virus(es) found: $output");
7     if ($self->{_action} eq 'add-header') {
8     - $transaction->header->add('X-Virus-Found', 'Yes');
9     - $transaction->header->add('X-Virus-Details', $output);
10     + $transaction->header->add('X-Virus-Details', $output, 0);
11     + $transaction->header->add('X-Virus-Found', 'Yes', 0);
12     } else {
13     return (DENY, "Virus Found: $output");
14     }
15     @@ -219,7 +219,7 @@
16     }
17    
18     $transaction->header->add( 'X-Virus-Checked',
19     - "Checked by ClamAV on " . $self->qp->config("me") );
20     + "Checked by ClamAV on " . $self->qp->config("me"), 0);
21     return (DECLINED);
22     }
23    
24     diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/virus/clamdscan mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamdscan
25     --- qpsmtpd-0.40/plugins/virus/clamdscan 2007-06-30 10:49:36.000000000 -0600
26     +++ mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamdscan 2007-06-30 10:49:11.000000000 -0600
27     @@ -169,14 +169,14 @@
28     . "Found: $viruses" );
29     }
30     else {
31     - $transaction->header->add( 'X-Virus-Found', 'Yes' );
32     - $transaction->header->add( 'X-Virus-Details', $viruses );
33     + $transaction->header->add( 'X-Virus-Details', $viruses, 0 );
34     + $transaction->header->add( 'X-Virus-Found', 'Yes', 0 );
35     return (DECLINED);
36     }
37     }
38    
39     $transaction->header->add( 'X-Virus-Checked',
40     - "Checked by ClamAV on " . $self->qp->config("me") );
41     + "Checked by ClamAV on " . $self->qp->config("me"), 0 );
42    
43     return (DECLINED);
44     }

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