/[smeserver]/rpms/qpsmtpd/sme8/qpsmtpd-0.83-clamav-headers.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme8/qpsmtpd-0.83-clamav-headers.patch

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


Revision 1.2 - (show annotations) (download)
Sun Nov 14 20:50:20 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
* Sun Nov 14 2010 <slords@mail.com> 0.84-2.sme
- Sync with upstream git repo.
- Fix require_resolvable_fromhost doesn't work [SME: 6369]
- Fix TLS security defaults [SME: 6366]
- Fix fatal errors when mail has no headers [SME: 6345]

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 @@ -212,8 +212,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 @@ -224,7 +224,7 @@
16 }
17 else {
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 }
22 return (DECLINED);
23 }

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