I have just done more tests:
1) if I set
a) ZimbraMailMode http
with /etc/httpd/conf/httpd.conf
Code:
RewriteRule ^/Microsoft-Server-ActiveSync$ http://webmail.domain.example/zimbra/Microsoft-Server-ActiveSync
b) ZimbraMailMode https
with /etc/httpd/conf/httpd.conf
Code:
RewriteRule ^/Microsoft-Server-ActiveSync$ https://webmail.domain.example/zimbra/Microsoft-Server-ActiveSync
In both (A) and (b) case I get the same behaviour i.e. the following:
If I set on the palm
Code:
* No SSL
* user = username
* domain = domain
I get in sync.log:
Code:
2007-06-20 10:39:08,494 INFO [TP-Processor11] [] sync - User not found; user=username@domain2007-06-20 10:39:08,494 INFO [TP-Processor11] [] sync - HTTP/1.1 401 Invalid username or password
No entry in audit.log
i.e. I assume the correct setting is
* user = username
* domain = domain.example
If I set on the palm:
Code:
* No SSL
* user = username
* domain = domain.example
I get in sync.log:
Code:
2007-06-20 10:41:32,611 INFO [TP-Processor9] [] sync - HTTP/1.1 401 Unauthorized 2007-06-20 10:41:32,713 INFO [TP-Processor3] [] sync - OPTIONS
Microsoft-Server-ActiveSync?User=username&DeviceId=D87C6E7465A29C83DD493
696573B57C2&DeviceType=PocketPC
2007-06-20 10:41:32,718 INFO [TP-Processor3] [] sync - HTTP/1.1 200 OK 2007-06-20 10:41:38,952 INFO [TP-Processor3] [] sync - OPTIONS
Microsoft-Server-ActiveSync?User=username&DeviceId=D87C6E7465A29C83DD493
696573B57C2&DeviceType=PocketPC
In audit.log ->
Code:
2007-06-20 10:41:32,717 INFO [TP-Processor3] [] security - cmd=Auth; account=username@domain.example; protocol=zsync;
BUT I get on ActiveSync an error:
"A problem on the server has occurred on the server while executing
ActiveSync: error 85010014"
I.E. no sync done.
2) if I set
ZimbraMailMode https
with /etc/httpd/conf.d/ssl.conf
Code:
RewriteRule ^/Microsoft-Server-ActiveSync$ https://webmail.domain.example/zimbra/Microsoft-Server-ActiveSync
And I set on the palm:
Code:
* SSL
* user = username
* domain = domain.example
I get in sync.log:
Code:
2007-06-20 10:41:43,157 INFO [TP-Processor2] [] sync - HTTP/1.1 401 Unauthorized 2007-06-20 10:41:43,248 INFO [TP-Processor9] [] sync - OPTIONS
Microsoft-ServerActiveSync?User=username&DeviceId=D87C6E7465A29C83DD49369657
3B57C2&DeviceType=PocketPC
Nothing in audit.log
And as I wrote in last post:
on the phone appears a window where there is written:
"Correct your password for the Exchange Server"
and it is shown the domain, the user name and there is a field where you can tip the password:
domain\user
username.example\username
The problem is that whatever password I tip I get back to this window (i.e. it is not accepted), till when I abort the sync.
Any clue?