/[smeserver]/rpms/smeserver-dovecot/sme9/smeserver-dovecot-1.4.0-remove_limits_from_imaps.patch
ViewVC logotype

Annotation of /rpms/smeserver-dovecot/sme9/smeserver-dovecot-1.4.0-remove_limits_from_imaps.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Jan 23 17:53:38 2014 UTC (10 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-dovecot-1_4_0-17_el6_sme, smeserver-dovecot-1_4_0-21_el6_sme, smeserver-dovecot-1_4_0-19_el6_sme, smeserver-dovecot-1_4_0-20_el6_sme, smeserver-dovecot-1_4_0-18_el6_sme, smeserver-dovecot-1_4_0-16_el6_sme, HEAD
* Thu Jan 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-16.sme
- Remove limit props from the imaps DB entry [SME: 8082]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed