/[smeserver]/rpms/qpsmtpd/sme10/0039-qpsmtpd-0.84-spamassassin_size_limit.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme10/0039-qpsmtpd-0.84-spamassassin_size_limit.patch

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


Revision 1.1 - (show annotations) (download)
Sun Feb 7 20:49:54 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: qpsmtpd-0_96-19_el7_sme, qpsmtpd-0_96-12_el7_sme, qpsmtpd-0_96-11_el7_sme, qpsmtpd-0_96-16_el7_sme, qpsmtpd-0_96-13_el7_sme, qpsmtpd-0_96-6_el7_sme, qpsmtpd-0_96-18_el7_sme, qpsmtpd-0_96-23_el7_sme, qpsmtpd-0_96-20_el7_sme, qpsmtpd-0_84-20_el7_sme, qpsmtpd-0_96-17_el7_sme, qpsmtpd-0_96-8_el7_sme, qpsmtpd-0_96-5_el7_sme, qpsmtpd-0_96-2_el7_sme, qpsmtpd-0_96-21_el7_sme, qpsmtpd-0_96-22_el7_sme, qpsmtpd-0_96-14_el7_sme, qpsmtpd-0_96-15_el7_sme, qpsmtpd-0_96-9_el7_sme, qpsmtpd-0_96-4_el7_sme, qpsmtpd-0_96-1_el7_sme, qpsmtpd-0_96-3_el7_sme, qpsmtpd-0_84-18_el7_sme, qpsmtpd-0_96-10_el7_sme, qpsmtpd-0_84-19_el7_sme, HEAD
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 0.84-18.sme
- Build new rpm for sme10

1 diff -Nur qpsmtpd-0.84/plugins/spamassassin qpsmtpd-0.84-spam_size_limit/plugins/spamassassin
2 --- qpsmtpd-0.84/plugins/spamassassin 2010-02-13 06:30:12.000000000 +0100
3 +++ qpsmtpd-0.84-spam_size_limit/plugins/spamassassin 2013-04-24 19:49:33.965759534 +0200
4 @@ -112,7 +112,8 @@
5 my ($self, $transaction) = @_;
6
7 $self->log(LOGDEBUG, "check_spam");
8 - return (DECLINED) if $transaction->data_size > 500_000;
9 + my $limit = $self->{_args}->{size_limit} || 500_000;
10 + return (DECLINED) if $transaction->data_size > $limit;
11
12 my $remote = 'localhost';
13 my $port = 783;

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