dsfdsf
This commit is contained in:
parent
4530a2f80e
commit
ab4958dfa2
|
|
@ -1,6 +1,4 @@
|
|||
# (email_settings) ist der Name unseres Snippets
|
||||
(email_settings) {
|
||||
|
||||
# 1. Autodiscover für Outlook (POST Request)
|
||||
route /autodiscover/autodiscover.xml {
|
||||
header Content-Type "application/xml"
|
||||
|
|
@ -15,7 +13,7 @@
|
|||
<Server>mail.email-srvr.com</Server>
|
||||
<Port>993</Port>
|
||||
<DomainRequired>on</DomainRequired>
|
||||
<LoginName>support@bizmatch.net</LoginName> <SPA>off</SPA>
|
||||
<SPA>off</SPA>
|
||||
<SSL>on</SSL>
|
||||
<AuthRequired>on</AuthRequired>
|
||||
</Protocol>
|
||||
|
|
@ -24,7 +22,7 @@
|
|||
<Server>mail.email-srvr.com</Server>
|
||||
<Port>465</Port>
|
||||
<DomainRequired>on</DomainRequired>
|
||||
<LoginName>support@bizmatch.net</LoginName> <SPA>off</SPA>
|
||||
<SPA>off</SPA>
|
||||
<SSL>on</SSL>
|
||||
<AuthRequired>on</AuthRequired>
|
||||
</Protocol>
|
||||
|
|
@ -33,17 +31,8 @@
|
|||
</Autodiscover>` 200
|
||||
}
|
||||
|
||||
# 2. JSON Autodiscover (Modern Outlook)
|
||||
route /autodiscover/autodiscover.json {
|
||||
header Content-Type "application/json"
|
||||
# Achtung: Hier hardcoden wir jetzt die Subdomain für den Redirect, das ist sicherer
|
||||
respond `{
|
||||
"Protocol": "AutodiscoverV1",
|
||||
"Url": "https://autodiscover.bayarea-cc.com/autodiscover/autodiscover.xml"
|
||||
}` 200
|
||||
}
|
||||
|
||||
# 3. Thunderbird Autoconfig
|
||||
# 3. Thunderbird Autoconfig (Bleibt wie es war)
|
||||
route /mail/config-v1.1.xml {
|
||||
header Content-Type "application/xml"
|
||||
respond `<?xml version="1.0"?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue