1 |
wellsi |
1.1 |
diff -ruN e-smith-email-5.4.0.old/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug e-smith-email-5.4.0/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug |
2 |
|
|
--- e-smith-email-5.4.0.old/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug 2013-02-06 13:56:01.000000000 -0800 |
3 |
|
|
+++ e-smith-email-5.4.0/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug 2013-03-16 15:37:32.000000000 -0700 |
4 |
|
|
@@ -1,5 +1,5 @@ |
5 |
|
|
{ |
6 |
|
|
- my $debug = $DB->get_prop('smtp-auth-proxy','Debug'); |
7 |
|
|
+ my $debug = $DB->get_prop('smtp-auth-proxy','Debug') or return; |
8 |
|
|
|
9 |
|
|
$DB->set_prop('smtp-auth-proxy','Debug', 'disabled') if $debug eq 0; |
10 |
|
|
} |
11 |
|
|
diff -ruN e-smith-email-5.4.0.old/root/etc/e-smith/db/configuration/migrate/20smtpProxy e-smith-email-5.4.0/root/etc/e-smith/db/configuration/migrate/20smtpProxy |
12 |
|
|
--- e-smith-email-5.4.0.old/root/etc/e-smith/db/configuration/migrate/20smtpProxy 2013-02-06 13:56:01.000000000 -0800 |
13 |
|
|
+++ e-smith-email-5.4.0/root/etc/e-smith/db/configuration/migrate/20smtpProxy 2013-03-16 15:37:19.000000000 -0700 |
14 |
|
|
@@ -1,5 +1,9 @@ |
15 |
|
|
{ |
16 |
|
|
- my $proxy = $DB->get_prop('smtpd','Proxy'); |
17 |
|
|
+# In SME Server 7 smtpd Proxy used 'enabled'. |
18 |
|
|
+# In SME Server 8 the UI uses enabled but the configuration value is transparent. |
19 |
|
|
+# This migrate fragment is needed to allow upgrades from SME Server 7. |
20 |
|
|
+ |
21 |
|
|
+ my $proxy = $DB->get_prop('smtpd','Proxy') or return; |
22 |
|
|
|
23 |
|
|
if ($proxy eq 'enabled') |
24 |
|
|
{ |