[horde] Activesync setup on Android

Simon Brereton simon.brereton at buongiorno.com
Thu Sep 22 18:26:14 UTC 2011


Hi

Probably I'm doing something stupid - and I know the wiki says it's impossible to give a howto for every Android device, but I'm have an issue setting up Activesync on Android.

Horde_Activesync 	is installed and DB schema is ready.
$conf[activesync][enabled] = Enabled
webmail.mydomain.net/Microsoft-Server-ActiveSync redirects to webmail.mydomain.net/rpc.php as per the installation guide.  I get this when accessing the page with the browser - which I assume is correct:

A fatal error has occurred
Horde_Log_Handler_Stream: "" cannot be opened with mode "a+"
Details have been logged for the administrator.

On the device (OG - 2.3.4) I go to Settings/Accounts and Sync/Add New Account.  Choose Exchange.  Enter the email address and password and tap next.  I change the default \username to \username at mydomain.net (although I've also tried mydomain.net\username) and change the server to webmail.mydomain.net:443 - tapping next gives me "checking incoming server settings" which returns an error pretty sharply - "Unable to open connection to server"


Is there anything I'm doing wrong?

$conf[activesync][logging][path] = /var/log/horde/sync.log but that file doesn't exist.

ls /var/log/
drw-rw----  2 root   www-data  4.0K Aug  8 21:32 horde/

>From the other logs:
(/var/log/apache/logs/webmail-access.log)
38.104.167.6 - - [22/Sep/2011:18:50:26 +0100] "GET /Microsoft-Server-ActiveSync HTTP/1.1" 200 2556
174.252.9.249 - simon at mydomain.net [22/Sep/2011:18:50:52 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=simon%40mydomain.net&DeviceId=validate&DeviceType=Android HTTP/1.1" 200 2296
174.252.9.249 - mydomain.net\\simon [22/Sep/2011:18:51:31 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=mydomain.net%5Csimon&DeviceId=validate&DeviceType=Android HTTP/1.1" 200 2296
38.104.167.6 - - [22/Sep/2011:18:54:45 +0100] "GET /Microsoft-Server-ActiveSync HTTP/1.1" 200 917
174.252.9.249 - mydomain.net\\simon [22/Sep/2011:18:58:06 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=mydomain.net%5Csimon&DeviceId=validate&DeviceType=Android HTTP/1.1" 200 2296
174.252.9.249 - simon at mydomain.net [22/Sep/2011:19:00:31 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=simon%40mydomain.net&DeviceId=validate&DeviceType=Android HTTP/1.1" 200 2296
174.252.9.249 - simon at mydomain.net [22/Sep/2011:19:00:36 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=simon%40mydomain.net&DeviceId=validate&DeviceType=iPhone HTTP/1.1" 200 2296
174.252.9.249 - simon at mydomain.net [22/Sep/2011:19:00:42 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=simon%40mydomain.net&DeviceId=validate&DeviceType=MSFT-PPC HTTP/1.1" 200 2296
174.252.9.249 - simon at mydomain.net [22/Sep/2011:19:01:13 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=simon%40mydomain.net&DeviceId=validate&DeviceType=Android HTTP/1.1" 200 2296
174.252.9.249 - simon [22/Sep/2011:19:01:26 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=simon&DeviceId=validate&DeviceType=Android HTTP/1.1" 200 2296
174.252.9.249 - simon [22/Sep/2011:19:01:40 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=simon&DeviceId=validate&DeviceType=Android HTTP/1.1" 200 2296
174.252.9.249 - simon at mydomain.net [22/Sep/2011:19:02:03 +0100] "OPTIONS /Microsoft-Server-ActiveSync?Cmd=OPTIONS&User=simon%40mydomain.net&DeviceId=validate&DeviceType=Android HTTP/1.1" 200 2296

There is nothing relevant in the error log.  Any help/pointers would be appreciated.


Thanks.

Simon





More information about the horde mailing list