initial commit of file from CVS for smeserver-dovecot on Thu 26 Oct 11:25:44 BST 2023
This commit is contained in:
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/dovecot/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/dovecot/type
Normal file
@@ -0,0 +1 @@
|
||||
service
|
1
root/etc/e-smith/db/configuration/defaults/imap/TCPPort
Normal file
1
root/etc/e-smith/db/configuration/defaults/imap/TCPPort
Normal file
@@ -0,0 +1 @@
|
||||
143
|
1
root/etc/e-smith/db/configuration/defaults/imap/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/imap/access
Normal file
@@ -0,0 +1 @@
|
||||
private
|
1
root/etc/e-smith/db/configuration/defaults/imap/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/imap/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/imap/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/imap/type
Normal file
@@ -0,0 +1 @@
|
||||
configuration
|
1
root/etc/e-smith/db/configuration/defaults/imaps/TCPPort
Normal file
1
root/etc/e-smith/db/configuration/defaults/imaps/TCPPort
Normal file
@@ -0,0 +1 @@
|
||||
993
|
1
root/etc/e-smith/db/configuration/defaults/imaps/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/imaps/access
Normal file
@@ -0,0 +1 @@
|
||||
private
|
1
root/etc/e-smith/db/configuration/defaults/imaps/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/imaps/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/imaps/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/imaps/type
Normal file
@@ -0,0 +1 @@
|
||||
configuration
|
1
root/etc/e-smith/db/configuration/defaults/pop3/TCPPort
Normal file
1
root/etc/e-smith/db/configuration/defaults/pop3/TCPPort
Normal file
@@ -0,0 +1 @@
|
||||
110
|
1
root/etc/e-smith/db/configuration/defaults/pop3/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/pop3/access
Normal file
@@ -0,0 +1 @@
|
||||
private
|
1
root/etc/e-smith/db/configuration/defaults/pop3/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/pop3/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/pop3/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/pop3/type
Normal file
@@ -0,0 +1 @@
|
||||
configuration
|
1
root/etc/e-smith/db/configuration/defaults/pop3s/TCPPort
Normal file
1
root/etc/e-smith/db/configuration/defaults/pop3s/TCPPort
Normal file
@@ -0,0 +1 @@
|
||||
995
|
1
root/etc/e-smith/db/configuration/defaults/pop3s/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/pop3s/access
Normal file
@@ -0,0 +1 @@
|
||||
private
|
1
root/etc/e-smith/db/configuration/defaults/pop3s/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/pop3s/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/defaults/pop3s/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/pop3s/type
Normal file
@@ -0,0 +1 @@
|
||||
configuration
|
1
root/etc/e-smith/db/configuration/force/dovecot/status
Normal file
1
root/etc/e-smith/db/configuration/force/dovecot/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
1
root/etc/e-smith/db/configuration/force/imap/status
Normal file
1
root/etc/e-smith/db/configuration/force/imap/status
Normal file
@@ -0,0 +1 @@
|
||||
enabled
|
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);
|
||||
}
|
||||
|
||||
}
|
23
root/etc/e-smith/db/configuration/migrate/PopMemLimit
Normal file
23
root/etc/e-smith/db/configuration/migrate/PopMemLimit
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
|
||||
# This limit is renamed after ProcessMemoryLimit for consistency with imap entry
|
||||
foreach my $prop (qw/MemLimit/){
|
||||
my $pop_value = $DB->get_prop_and_delete('pop3', $prop);
|
||||
next unless ($pop_value);
|
||||
my $curpop_value = $DB->get_prop('pop3', 'ProcessMemoryLimit');
|
||||
next if ($curpop_value);
|
||||
$DB->set_prop('pop3', 'ProcessMemoryLimit', $pop_value);
|
||||
}
|
||||
|
||||
# Those limits are now defined on the pop entry
|
||||
foreach my $prop (qw/MemLimit/){
|
||||
my $pops_value = $DB->get_prop_and_delete('pop3s', $prop);
|
||||
next unless ($pops_value);
|
||||
my $pop_value = $DB->get_prop('pop3', 'ProcessMemoryLimit');
|
||||
next if ($pop_value);
|
||||
$DB->set_prop('pop3', 'ProcessMemoryLimit' , $imaps_value);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
5
root/etc/e-smith/db/configuration/migrate/dovecot
Normal file
5
root/etc/e-smith/db/configuration/migrate/dovecot
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
foreach my $sservice qw(imap imaps pop3 pop3s) {
|
||||
$DB->set_prop($sservice, "type", "configuration") if ${$sservice}{type} eq "service";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user