# ------------------------------------------------------------------
# E-Mail Autodiscover Configuration
# Covers: Outlook (XML & JSON), Thunderbird (Mozilla XML), and generic clients
# ------------------------------------------------------------------
# 1. Autodiscover für Outlook & Mobile Clients (Microsoft Standard)
# ------------------------------------------------------------------
autodiscover.bayarea-cc.com, autodiscover.bizmatch.net {
# JSON Route (für moderne Outlook Clients / Mobile)
route /autodiscover/autodiscover.json {
header Content-Type "application/json"
respond `{
"Protocol": "AutodiscoverV1",
"Url": "https://{host}/autodiscover/autodiscover.xml"
}` 200
}
# XML Route (Klassisch Outlook)
route /autodiscover/autodiscover.xml {
header Content-Type "application/xml"
respond `
email
settings
IMAP
mail.email-srvr.com
993
on
on
off
SMTP
mail.email-srvr.com
465
on
on
off
` 200
}
# Fallback für Browser-Tests
route / {
respond "Autodiscover Service for Outlook is running." 200
}
}
# 2. Autoconfig für Thunderbird (Mozilla Standard)
# ------------------------------------------------------------------
autoconfig.bayarea-cc.com, autoconfig.bizmatch.net {
route /mail/config-v1.1.xml {
header Content-Type "application/xml"
respond `
Rackspace Email
mail.email-srvr.com
993
SSL
password-cleartext
%EMAILADDRESS%
mail.email-srvr.com
587
STARTTLS
password-cleartext
%EMAILADDRESS%
` 200
}
# Fallback
route / {
respond "Autoconfig Service for Thunderbird is running." 200
}
}