/[smeserver]/rpms/smeserver-qpsmtpd/sme8/smeserver-qpsmtpd-2.2.0-initialize_size.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme8/smeserver-qpsmtpd-2.2.0-initialize_size.patch

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


Revision 1.1 - (show annotations) (download)
Wed Jun 12 10:32:56 2013 UTC (11 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_2_0-22_el5_sme, smeserver-qpsmtpd-2_2_0-21_el5_sme, smeserver-qpsmtpd-2_2_0-20_el5_sme, smeserver-qpsmtpd-2_2_0-18_el5_sme, smeserver-qpsmtpd-2_2_0-17_el5_sme, smeserver-qpsmtpd-2_2_0-19_el5_sme, HEAD
* Wed Jun 12 2013 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-17
- Fix size_limit initialization [SME: 7668]

1 diff -Nur smeserver-qpsmtpd-2.2.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin smeserver-qpsmtpd-2.2.0-size_limit/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin
2 --- smeserver-qpsmtpd-2.2.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin 2013-06-12 12:21:01.070118703 +0200
3 +++ smeserver-qpsmtpd-2.2.0-size_limit/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin 2013-06-12 12:22:57.240817228 +0200
4 @@ -26,7 +26,8 @@
5 push @options, "munge_subject_threshold", $spamassassin{TagLevel};
6 }
7
8 - if ($spamassassin{MaxMessageSize} =~ m/^\d+$/)
9 + my $size = $spamassassin{MaxMessageSize} || '';
10 + if ($size =~ m/^\d+$/)
11 {
12 push @options, "size_limit", $spamassassin{MaxMessageSize};
13 }

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