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