initial commit of file from CVS for e-smith-email on Wed 12 Jul 08:53:55 BST 2023
This commit is contained in:
13
root/etc/e-smith/db/configuration/migrate/20smtpProxy
Normal file
13
root/etc/e-smith/db/configuration/migrate/20smtpProxy
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
# In SME Server 7 smtpd Proxy used 'enabled'.
|
||||
# In SME Server 8 the UI uses enabled but the configuration value is transparent.
|
||||
# This migrate fragment is needed to allow upgrades from SME Server 7.
|
||||
|
||||
my $proxy = $DB->get_prop('qpsmtpd','Proxy') or return;
|
||||
|
||||
if ($proxy eq 'enabled')
|
||||
{
|
||||
$DB->set_prop('qpsmtpd','Proxy', 'blocked');
|
||||
$DB->set_prop('qpsmtpd','Authentication', 'enabled');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user