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