initial commit of file from CVS for smeserver-dovecot on Thu 26 Oct 11:25:44 BST 2023
This commit is contained in:
12
root/etc/e-smith/db/configuration/migrate/ImapsLimits
Normal file
12
root/etc/e-smith/db/configuration/migrate/ImapsLimits
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
|
||||
# Those limits are now defined on the imap entry
|
||||
foreach my $prop (qw/ConcurrencyLimit ConcurrencyLimitPerIP ProcessMemoryLimit/){
|
||||
my $imaps_value = $DB->get_prop_and_delete('imaps', $prop);
|
||||
next unless ($imaps_value);
|
||||
my $imap_value = $DB->get_prop('imap', $prop);
|
||||
next if ($imap_value);
|
||||
$DB->set_prop('imap', $prop, $imaps_value);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user