mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
simplify
This commit is contained in:
parent
373e6d2161
commit
c6c444cfa7
@ -66,8 +66,7 @@ def autoconfig_microsoft():
|
||||
<Port>993</Port>
|
||||
<DomainRequired>on</DomainRequired>
|
||||
<SPA>off</SPA>
|
||||
<SSL>on</SSL>
|
||||
<AuthRequired>on</AuthRequired>
|
||||
<Encryption>TLS</Encryption>
|
||||
</Protocol>
|
||||
<Protocol>
|
||||
<Type>SMTP</Type>
|
||||
@ -75,12 +74,11 @@ def autoconfig_microsoft():
|
||||
<Port>465</Port>
|
||||
<DomainRequired>on</DomainRequired>
|
||||
<SPA>off</SPA>
|
||||
<SSL>on</SSL>
|
||||
<AuthRequired>on</AuthRequired>
|
||||
<Encryption>TLS</Encryption>
|
||||
</Protocol>
|
||||
</Account>
|
||||
</Response>
|
||||
</Autodiscover>\r\n'''
|
||||
</Autodiscover>'''
|
||||
return flask.Response(xml, mimetype='text/xml', status=200)
|
||||
|
||||
@internal.route("/autoconfig/apple")
|
||||
|
Loading…
Reference in New Issue
Block a user