{
# 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('smtpd','Proxy') or return;

    if ($proxy eq 'enabled')
    {
        $DB->set_prop('smtpd','Proxy', 'blocked');
        $DB->set_prop('smtpd','Authentication', 'enabled');
    }
}
