Warning: Constant ABSPATH already defined in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php on line 21 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php:21) in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-includes/rest-api/class-wp-rest-server.php on line 1794 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php:21) in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-includes/rest-api/class-wp-rest-server.php on line 1794 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php:21) in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-includes/rest-api/class-wp-rest-server.php on line 1794 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php:21) in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-includes/rest-api/class-wp-rest-server.php on line 1794 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php:21) in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-includes/rest-api/class-wp-rest-server.php on line 1794 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php:21) in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-includes/rest-api/class-wp-rest-server.php on line 1794 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php:21) in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-includes/rest-api/class-wp-rest-server.php on line 1794 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-config.php:21) in /home/httpd/vhosts/supercloud.ch/apfelschwein.net/wp-includes/rest-api/class-wp-rest-server.php on line 1794 {"id":246,"date":"2011-11-06T00:55:21","date_gmt":"2011-11-05T22:55:21","guid":{"rendered":"http:\/\/www.apfelschwein.net\/?p=246"},"modified":"2011-12-20T12:47:18","modified_gmt":"2011-12-20T10:47:18","slug":"activesync-autodiscover-mit-z-push-und-courier-imap","status":"publish","type":"post","link":"https:\/\/www.apfelschwein.net\/activesync-autodiscover-mit-z-push-und-courier-imap.html","title":{"rendered":"ActiveSync AutoDiscover (mit Z-Push und Courier IMAP)"},"content":{"rendered":"

Dies ist die Fortsetzung des ActiveSync Artikels. Der erste Teil „ActiveSync mit Z-Push und Courier IMAP<\/a>“ ist hier zu finden.<\/p>\n

Damit die Mailbox-Konfiguration auf dem Mobile Phone etwas einfacher wird, gibt es AutoDiscover f\u00fcr ActiveSync. Das Prinzip ist relativ einfach:<\/p>\n

Das Mobile Phone sendet einen XMLRequest an http(s):\/\/autodiscover.mytestdomain.com\/Autodiscover\/Autodiscover.xml.<\/p>\n

Der Request sieht so aus:<\/p>\n

<?xml version=\"1.0\" encoding=\"utf-8\"?>
\n<Autodiscover xmlns=\"http:\/\/schemas.microsoft.com\/exchange\/autodiscover\/mobilesync\/requestschema\/2006\">
\n<Request>
\n<EMailAddress>meine.emailadresse@mytestdomain.com<\/EMailAddress>
\n<AcceptableResponseSchema>http:\/\/schemas.microsoft.com\/exchange\/autodiscover\/mobilesync\/responseschema\/2006<\/AcceptableResponseSchema>
\n<\/Request>
\n<\/Autodiscover>
\n<\/code><\/p><\/blockquote>\n

Die Response ist wie folgt:<\/p>\n

<?xml version=\"1.0\" encoding=\"utf-8\"?>
\n<Autodiscover xmlns=\"http:\/\/schemas.microsoft.com\/exchange\/autodiscover\/responseschema\/2006\">
\n<Response xmlns=\"http:\/\/schemas.microsoft.com\/exchange\/autodiscover\/outlook\/responseschema\/2006a\">
\n<Culture>en:en<\/Culture>
\n<User>
\n<DisplayName>meine.emailadresse@mytestdomain.com<\/code><\/DisplayName>
\n<EMailAddress>meine.emailadresse@mytestdomain.com<\/code><\/EMailAddress>
\n<\/User>
\n<Action>
\n<Settings>
\n<Server>
\n<Type>MobileSync<\/Type>
\n<Url>https:\/\/mail.mytestdomain.com\/Microsoft-Server-ActiveSync<\/Url>
\n<Name>https:\/\/mail.mytestdomain.com\/Microsoft-Server-ActiveSync<\/Name>
\n<\/Server>
\n<\/Settings>
\n<\/Action>
\n<\/Response>
\n<\/Autodiscover><\/code><\/p><\/blockquote>\n

Nun weiss das Mobile Phone, welches der Mailserver ist (und allenfalls auch wie Vorname und Name des Benutzers lautet. Wurde aber von mir nicht implementiert.).<\/p>\n

So hab‘ ich’s gemacht:<\/p>\n