1 |
vip-ire |
1.1 |
diff -Nur smeserver-dovecot-1.4.0/root/etc/e-smith/db/configuration/migrate/ImapsLimits smeserver-dovecot-1.4.0_bz8082/root/etc/e-smith/db/configuration/migrate/ImapsLimits |
2 |
|
|
--- smeserver-dovecot-1.4.0/root/etc/e-smith/db/configuration/migrate/ImapsLimits 1970-01-01 01:00:00.000000000 +0100 |
3 |
|
|
+++ smeserver-dovecot-1.4.0_bz8082/root/etc/e-smith/db/configuration/migrate/ImapsLimits 2014-01-23 18:50:18.291175403 +0100 |
4 |
|
|
@@ -0,0 +1,12 @@ |
5 |
|
|
+{ |
6 |
|
|
+ |
7 |
|
|
+# Those limits are now defined on the imap entry |
8 |
|
|
+foreach my $prop (qw/ConcurrencyLimit ConcurrencyLimitPerIP ProcessMemoryLimit/){ |
9 |
|
|
+ my $imaps_value = $DB->get_prop_and_delete('imaps', $prop); |
10 |
|
|
+ next unless ($imaps_value); |
11 |
|
|
+ my $imap_value = $DB->get_prop('imap', $prop); |
12 |
|
|
+ next if ($imap_value); |
13 |
|
|
+ $DB->set_prop('imap', $prop, $imaps_value); |
14 |
|
|
+} |
15 |
|
|
+ |
16 |
|
|
+} |