1 |
vip-ire |
1.1 |
diff -Nur smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin smeserver-qpsmtpd-2.4.0-init_size/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin |
2 |
|
|
--- smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin 2013-06-14 10:47:25.278872841 +0200 |
3 |
|
|
+++ smeserver-qpsmtpd-2.4.0-init_size/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/70spamassassin 2013-06-14 10:59:23.012804098 +0200 |
4 |
|
|
@@ -26,9 +26,10 @@ |
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 |
|
|
+ push @options, "size_limit", $size; |
14 |
|
|
} |
15 |
|
|
|
16 |
|
|
return join " ", @options; |