hello, i have install iRedMail(0.9.4) with Sogo support. (iRedMail + Sogo + Nginx + Mariadb) - i try it on Ubuntu and Centos.
from Centos: sogo.x86_64 2.3.9-1.el7.centos @SOGo nginx.x86_64 1:1.6.3-8.el7 @epel mariadb.x86_64 1:5.5.44-2.el7.centos @base Web interface works great ;) but its problem with ActiveSync - only two testing account and device, but sogo just hang :( ********************************** example errors from Sogo: Mar 23 22:42:40 sogod [5190]: [ERROR] <0x0x7fbf0df5d100[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x7fbf0e130d60]: method=POST uri=/SOGo/Microsoft-Server- ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)> (len=13): the socket was shutdown Mar 23 22:42:40 sogod [5190]: mail.changeit.com "POST /SOGo/Microsoft-Server- ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 HTTP/1.0" 200 13/71 482.032 - - 0 Mar 23 22:42:40 sogod [13113]: [WARN] <0x0x7fbf0dc0d910[WOWatchDogChild]> pid 5215 has been hanging in the same request for 2 minutes Mar 23 22:42:41 sogod [5215]: <0x0x7fbf0dfe7da0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes in Ping... Mar 23 22:42:44 sogod [7744]: <0x0x7fbf0dff8ca0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes in Ping... Mar 23 22:42:50 sogod [13113]: [WARN] <0x0x7fbf0dc0dec0[WOWatchDogChild]> pid 8355 has been hanging in the same request for 8 minutes Mar 23 22:42:52 sogod [8355]: [ERROR] <0x0x7fbf0dbb5980[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x7fbf0dc939b0]: method=POST uri=/SOGo/Microsoft-Server- ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)> (len=13): the socket was shutdown Mar 23 22:42:52 sogod [8355]: mail.changeit.com "POST /SOGo/Microsoft-Server- ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 HTTP/1.0" 200 13/71 482.126 - - 4M Mar 23 22:42:59 sogod [13113]: [WARN] <0x0x7fbf0dc0e8c0[WOWatchDogChild]> pid 5192 has been hanging in the same request for 8 minutes Mar 23 22:43:01 sogod [5192]: [ERROR] <0x0x7fbf0dcf63a0[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x7fbf0dcbc560]: method=POST uri=/SOGo/Microsoft-Server- ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)> (len=13): the socket was shutdown Mar 23 22:43:01 sogod [5192]: mail.changeit.com "POST /SOGo/Microsoft-Server- ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 HTTP/1.0" 200 13/71 482.040 - - 0 ************************************* example errors from nginx: 2016/03/23 22:22:42 [error] 11382#0: *3747 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 95.108.39.221, server: _, request: "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=testuser%40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603", host: "mail.changeit.com" 2016/03/23 22:25:50 [error] 11382#0: *3750 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 37.47.66.212, server: _, request: "POST /Microsoft-Server-ActiveSync? [email protected]&DeviceId=1QU8UUOJB924PBUIUCGRDBK374&DeviceType=iPhone&Cmd=Ping HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/[email protected]&DeviceId=1QU8UUOJB924PBUIUCGRDBK374&DeviceType=iPhone&Cmd=Ping", host: "mail.changeit.com" 2016/03/23 22:25:53 [error] 11382#0: *3747 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 95.108.39.221, server: _, request: "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=testuser%40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603", host: "mail.changeit.com" 2016/03/23 22:27:56 [error] 11382#0: *3756 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 95.108.39.221, server: _, request: "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=testuser %40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603 HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=testuser%40changeit.com&DeviceId=androidc1926334321&DeviceType=SonyC6603", host: "mail.changeit.com" ************************************ Sogo config files (performace) - increase the default value: WOWorkersCount = 20; //10; SOGoMaximumPingInterval = 3540; // 600; SOGoMaximumSyncInterval = 3540; // 600; SOGoInternalSyncInterval = 30; and Increase proxy time in nginx: proxy_send_timeout 3540; #600; proxy_read_timeout 3540; #600; Outlook 2013/2016 can't connect with server, Android sometimes connect or not only iPhone work good ;) maybe someone have similar configuration, or can help me set correct Nginx configuration. what is yours Nginx config or it is Sogo problem? thanks kazix -- [email protected] https://inverse.ca/sogo/lists
