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 |
} |