It would be better I think if the log showed the first access to the web portal for kopano. ActiveSync access has it’s own potential issues
the log show the first access.
I tested the url
https://webmail.domain.de
on the iPhone with following combinations in the backend section:
server kopano ucs-XXXX.my.domain.de:443 ssl verify none check
server kopano ucs-XXXX.my.domain.de:443/webapp/ ssl verify none check
server kopano ucs-XXXX.my.domain.de:443/webapp/index.php ssl verify none check
For all variants, the result is the portal page of the target server and the entries in the pasted log are all the same.
As a supplement here are the first entries of the Apache access.log from the destination server:
192.168.xx.yy - - [15/Nov/2019:22:57:07 +0100] “GET / HTTP/1.1” 302 4094 “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
192.168.xx.yy - - [15/Nov/2019:22:57:07 +0100] “GET /univention/ HTTP/1.1” 302 935 “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
192.168.xx.yy - - [15/Nov/2019:22:57:07 +0100] “GET /univention/portal/ HTTP/1.1” 200 1805 “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
192.168.xx.yy - - [15/Nov/2019:22:57:07 +0100] “GET /univention/portal/portal.css HTTP/1.1” 304 396 “https://webmail.domain.de/univention/portal/” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
192.168.xx.yy - - [15/Nov/2019:22:57:07 +0100] “GET /univention/js/config.js HTTP/1.1” 200 6080 “https://webmail.domain.de/univention/portal/” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
…
The destination member server is used for Kopano, Nextcloud and a lot of Samba shares.
If I use the url
https://webmail.domain.de/webapp/index.php"
on the iPhone, Kopano is started directly (as exspected without the path) !?!
In this case: haproxy.log
Nov 15 23:01:47 ucs-XXXX haproxy[16244]: 109.41.0.118:1776 [15/Nov/2019:23:01:47.833] https-in~ kopano_servers/kopano 0/0/3/5/9 200 5412 - - ---- 1/1/0/0/0 0/0 “GET /webapp/index.php HTTP/1.1”
Nov 15 23:01:47 ucs-XXXX haproxy[16244]: 109.41.0.118:1776 [15/Nov/2019:23:01:47.953] https-in~ kopano_servers/kopano 0/0/1/2/3 200 1583 - - ---- 1/1/0/1/0 0/0 “GET /webapp/client/resources/css/external/login.css HTTP/1.1”
Nov 15 23:01:48 ucs-XXXX haproxy[16244]: 109.41.0.118:1776 [15/Nov/2019:23:01:48.072] https-in~ kopano_servers/kopano 0/0/1/10/11 200 355 - - ---- 1/1/0/1/0 0/0 “POST /webapp/kopano.php?service=fingerprint HTTP/1.1”
Nov 15 23:01:48 ucs-XXXX haproxy[16244]: 109.41.0.118:29177 [15/Nov/2019:23:01:48.233] https-in~ kopano_servers/kopano 0/0/3/4/7 200 359 - - ---- 2/2/0/1/0 0/0 “POST /webapp/kopano.php?service=fingerprint&type=keepalive HTTP/1.1”
and here from Apache access.log (Samba-, Kopano-, Nextcloud-Server):
192.168.xx.yy - - [15/Nov/2019:23:01:47 +0100] “GET /webapp/index.php HTTP/1.1” 200 9017 “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
192.168.xx.yy - - [15/Nov/2019:23:01:47 +0100] “GET /webapp/client/resources/css/external/login.css HTTP/1.1” 200 1749 “https://webmail.domain.de/webapp/index.php” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
192.168.xx.yy - - [15/Nov/2019:23:01:48 +0100] “POST /webapp/kopano.php?service=fingerprint HTTP/1.1” 200 521 “https://webmail.domain.de/webapp/index.php” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
192.168.xx.yy - - [15/Nov/2019:23:01:48 +0100] “POST /webapp/kopano.php?service=fingerprint&type=keepalive HTTP/1.1” 200 525 “https://webmail.domain.de/webapp/index.php” “Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1”
192.168.1.111 - Family \ipad [15/Nov/2019:22:48:12 +0100] “POST /Microsoft-Server-ActiveSync?User=ipad&DeviceId=1EB3FIFNUP1FDFAULU4ECAPF90&DeviceType=iPad&Cmd=Ping HTTP/1.1” 200 3666 “-” “Apple-iPad6C11/1607.102”
Any idears ?