Autodiscover

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
#conf.d/autodiscover.conf
        Alias /autodiscover/autodiscover.xml /srv/www/domain.de/htdocs/member/horde/rpc.php
        Alias /Autodiscover/Autodiscover.xml /srv/www/domain.de/htdocs/member/horde/rpc.php
        Alias /AutoDiscover/AutoDiscover.xml /srv/www/domain.de/htdocs/member/horde/rpc.php

        #thunderbird 
        Alias /.well-known/autoconfig/mail/config-v1.1.xml /srv/www/domain.de/htdocs/.well-known/config-v1.1.xml


        #horde carddav (davdroid)
        RedirectPermanent /.well-known/carddav https://domain.de/member/horde/rpc/
        RedirectPermanent /.well-known/caldav https://domain.de/member/horde/rpc/

        <Directory "/srv/www/domain.de/htdocs/.well-known">
    <IfVersion >= 2.4>
    Require all granted
    </IfVersion>
    <IfVersion < 2.4>
    Order allow,deny
    Allow from all
    </IfVersion>
        </Directory>
        <Directory "/srv/www/domain.de/htdocs/member/horde">
    <IfVersion >= 2.4>
    Require all granted
    </IfVersion>
    <IfVersion < 2.4>
    Order allow,deny
    Allow from all
    </IfVersion>
        </Directory>

        <Location /autodiscover/autodiscover.xml>
                #for activesync
                SecRuleRemoveById 970901
        </Location>


#.well-known/config-v1.1.xml
<clientConfig version="1.1">
    <emailProvider id="domain.de">
        <domain>mygretchen.de</domain>
        <displayName>domain</displayName>
        <displayShortName>domain</displayShortName>
        <incomingServer type="imap">
            <hostname>imap.domain.de</hostname>
            <port>993</port>
            <socketType>SSL</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </incomingServer>
        <incomingServer type="pop3">
            <hostname>imap.domain.de</hostname>
            <port>995</port>
            <socketType>SSL</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </incomingServer>
        <outgoingServer type="smtp">
            <hostname>mailout.domain.de</hostname>
            <port>465</port>
            <socketType>SSL</socketType>
            <authentication>password-cleartext</authentication>
            <username>%EMAILADDRESS%</username>
        </outgoingServer>
        <documentation url="http://domain.de/">
            <descr lang="en">Generic settings page</descr>
        </documentation>
    </emailProvider>
</clientConfig>