14 lines
422 B
Plaintext
14 lines
422 B
Plaintext
{
|
|
# 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');
|
|
}
|
|
}
|