1 |
diff -Nur smeserver-dovecot-1.4.0/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/27Limits smeserver-dovecot-1.4.0_bz8082/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/27Limits |
2 |
--- smeserver-dovecot-1.4.0/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/27Limits 1970-01-01 01:00:00.000000000 +0100 |
3 |
+++ smeserver-dovecot-1.4.0_bz8082/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/27Limits 2013-12-24 10:51:59.776494538 +0100 |
4 |
@@ -0,0 +1,18 @@ |
5 |
+{ |
6 |
+ |
7 |
+my $ConcurrencyLimit = $imap{ConcurrencyLimit} || '400'; |
8 |
+my $ConcurrencyLimitPerIP = $imap{ConcurrencyLimitPerIP} || '12'; |
9 |
+my $ProcessMemoryLimit = $imap{ProcessMemoryLimit} || '256000000'; |
10 |
+ |
11 |
+$OUT .=<<"END"; |
12 |
+ |
13 |
+service imap { |
14 |
+ process_limit = $ConcurrencyLimit |
15 |
+ vsz_limit = $ProcessMemoryLimit |
16 |
+} |
17 |
+protocol imap { |
18 |
+ mail_max_userip_connections = $ConcurrencyLimitPerIP |
19 |
+} |
20 |
+END |
21 |
+ |
22 |
+} |