diff --git a/core/admin/mailu/internal/views/autoconfig.py b/core/admin/mailu/internal/views/autoconfig.py index 65271eeb..bf116f4b 100644 --- a/core/admin/mailu/internal/views/autoconfig.py +++ b/core/admin/mailu/internal/views/autoconfig.py @@ -8,15 +8,15 @@ import xmltodict def autoconfig_mozilla(): # https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat hostname = app.config['HOSTNAME'] - xml = f''' - - + xml = f''' + + %EMAILDOMAIN% Email Email - + {hostname} 993 SSL @@ -24,7 +24,7 @@ def autoconfig_mozilla(): password-cleartext - + {hostname} 465 SSL @@ -34,8 +34,8 @@ def autoconfig_mozilla(): true - -Configure your email client + +Configure your email client \r\n''' @@ -62,9 +62,9 @@ def autoconfig_microsoft(): if schema != 'http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a': return flask.abort(404) email = xml['Autodiscover']['Request']['EMailAddress'] - xml = f''' - - + xml = f''' + + email settings @@ -98,10 +98,10 @@ def autoconfig_apple(): # https://developer.apple.com/business/documentation/Configuration-Profile-Reference.pdf hostname = app.config['HOSTNAME'] sitename = app.config['SITENAME'] - xml = f''' - - + xml = f''' + + PayloadContent