Merge branch 'master' of git.bizmatch.net:aknuth/docker
This commit is contained in:
commit
200567f23c
|
|
@ -1,49 +1,38 @@
|
||||||
# (email_settings) ist der Name unseres Snippets
|
|
||||||
(email_settings) {
|
(email_settings) {
|
||||||
|
|
||||||
# 1. Autodiscover für Outlook (POST Request)
|
# 1. Autodiscover für Outlook (POST Request)
|
||||||
route /autodiscover/autodiscover.xml {
|
route /autodiscover/autodiscover.xml {
|
||||||
header Content-Type "application/xml"
|
header Content-Type "application/xml"
|
||||||
respond `<?xml version="1.0" encoding="utf-8"?>
|
respond `<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
|
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
|
||||||
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
|
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
|
||||||
<Account>
|
<Account>
|
||||||
<AccountType>email</AccountType>
|
<AccountType>email</AccountType>
|
||||||
<Action>settings</Action>
|
<Action>settings</Action>
|
||||||
<Protocol>
|
<Protocol>
|
||||||
<Type>IMAP</Type>
|
<Type>IMAP</Type>
|
||||||
<Server>mail.email-srvr.com</Server>
|
<Server>mail.email-srvr.com</Server>
|
||||||
<Port>993</Port>
|
<Port>993</Port>
|
||||||
<DomainRequired>on</DomainRequired>
|
<DomainRequired>on</DomainRequired>
|
||||||
<LoginName>support@bizmatch.net</LoginName> <SPA>off</SPA>
|
<SPA>off</SPA>
|
||||||
<SSL>on</SSL>
|
<SSL>on</SSL>
|
||||||
<AuthRequired>on</AuthRequired>
|
<AuthRequired>on</AuthRequired>
|
||||||
</Protocol>
|
</Protocol>
|
||||||
<Protocol>
|
<Protocol>
|
||||||
<Type>SMTP</Type>
|
<Type>SMTP</Type>
|
||||||
<Server>mail.email-srvr.com</Server>
|
<Server>mail.email-srvr.com</Server>
|
||||||
<Port>465</Port>
|
<Port>465</Port>
|
||||||
<DomainRequired>on</DomainRequired>
|
<DomainRequired>on</DomainRequired>
|
||||||
<LoginName>support@bizmatch.net</LoginName> <SPA>off</SPA>
|
<SPA>off</SPA>
|
||||||
<SSL>on</SSL>
|
<SSL>on</SSL>
|
||||||
<AuthRequired>on</AuthRequired>
|
<AuthRequired>on</AuthRequired>
|
||||||
</Protocol>
|
</Protocol>
|
||||||
</Account>
|
</Account>
|
||||||
</Response>
|
</Response>
|
||||||
</Autodiscover>` 200
|
</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 {
|
route /mail/config-v1.1.xml {
|
||||||
header Content-Type "application/xml"
|
header Content-Type "application/xml"
|
||||||
respond `<?xml version="1.0"?>
|
respond `<?xml version="1.0"?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue