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

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

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


Revision 1.1 - (show annotations) (download)
Tue Apr 23 06:38:42 2013 UTC (11 years, 7 months ago) by burnat
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-16_el5_sme, smeserver-qpsmtpd-2_2_0-19_el5_sme, HEAD
* Tue Apr 23 2013 chris burnat <devlist@burnat.com> 2.2.0-16
- smeserver-qpsmtpd reads MaxMessageSize prop of spamassassin and adds it
  to the arguments of the plugin if defined, patch by Daniel [SME: 7541]

1 diff -Nur smeserver-qpsmtpd-2.2.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin smeserver-qpsmtpd-2.2.0-spamassassin_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 2006-02-05 15:38:30.000000000 +0100
3 +++ smeserver-qpsmtpd-2.2.0-spamassassin_size_limit/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin 2013-04-10 19:35:08.946515204 +0200
4 @@ -26,5 +26,10 @@
5 push @options, "munge_subject_threshold", $spamassassin{TagLevel};
6 }
7
8 + if ($spamassassin{MaxMessageSize} =~ m/^\d+$/)
9 + {
10 + push @options, "size_limit", $spamassassin{MaxMessageSize};
11 + }
12 +
13 return join " ", @options;
14 }

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