General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] SOGo and Outlook 2013


Chronological Thread 
  • From: Andreas Hainke < >
  • To:
  • Subject: Re: [SOGo] SOGo and Outlook 2013
  • Date: Wed, 05 Aug 2015 22:05:26 +0200

Hi Daniel

Am 05.08.2015 um 13:24 schrieb Daniel Bareiro:
> On 05/08/15 02:53, Andreas Hainke wrote:
>
>> Hi Daniel
> Hi, Andreas.
>
>> I only uncommented the line "ProxyPass /Microsoft-Server-ActiveSync
>> http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync retry=60
>> connectiontimeout=5 timeout=360" as you already did.
>>
>> And I add this to /etc/sogo/sogo.conf
>> (http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf pages 53/54)
>>
>> WOWorkersCount = 40;
>> SOGoMaximumPingInterval = 3540;
>> SOGoMaximumSyncInterval = 3540;
>> SOGoInternalSyncInterval = 30;
>>
>> After these changes I restarted sogo, memcache and apache.
> I have also added these lines in /etc/sogo/sogo.conf, but without
> changes in the result.
Have a look at /etc/default/sogo, PREFORK=xyz overrides the setting of
WOWorkersCount. But this setting is only relevant if sogo logs messages like
Aug 05 08:00:38 sogod [720]: [ERROR] <0x0x7f1ce01f7000[WOWatchDog]> No
child available to handle incoming request!

>
>> My sogo.log has a lot of these messages:
>>
>> Aug 04 22:23:57 sogod [1808]:
>> <0x0x7f1ce1658d40[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while
>> detecting changes...
>> Aug 04 22:23:59 sogod [4933]:
>> <0x0x7f1ce07c21d0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while
>> detecting changes...
>> Aug 04 22:24:17 sogod [720]: [WARN] <0x0x7f1ce0469a60[WOWatchDogChild]>
>> pid 1808 has been hanging in the same request for 8 minutes
>> Aug 04 22:24:28 sogod [1808]:
>> <0x0x7f1ce1658d40[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while
>> detecting changes...
>> Aug 04 22:24:29 sogod [4933]:
>> <0x0x7f1ce07c21d0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while
>> detecting changes...
>>
>> That are all changes I did, as far as I remember.
>>
>> The SOGo documentation also mentions to install libwbxml for ActiveSync.
> Yes, libwbxml was automatically installed as dependence of sogo-activesync.
>
> What strikes me is that I don't see on /var/log/apache2/access.log any
> access to /Microsoft-Server-ActiveSync from the virtual machine where
> I'm doing tests with Windows. Do you see any entry in your Apache from
> the Outlook IP to access /Microsoft-Server-ActiveSync?
Yes I have quite a lot of entries in the access log like this:

10.10.10.190 - - [05/Aug/2015:10:52:41 +0200] "POST
/Microsoft-Server-ActiveSync?Cmd=Ping&User= &DeviceId=C199A908AC31425381AA3BCA7BDA590E&Dev
iceType=WindowsOutlook15 HTTP/1.1" 502 793 "-" "Outlook/15.0
(15.0.4737.1000; C2R; x86)"

>
> I also see that the documentation says on page 50: "Outlook 2013 does
> not search the GAL. One possible alternative solution is to configure
> Outlook to use LDAP server (over SSL) with authentication".
>
> Are you using Outlook with LDAP? Currently I'm using a MySQL database
> for authenticating the users of SOGo, not LDAP. Nor am I using Apache
> SSL connections. Could this affect the connection issue? Anyway, I guess
> I would have to see at least some entry on the Apache log.
I'm using LDAP, but only for SOGo user authentication. I haven't changed
anything for the global address list. GAL is not available in my setup.

I traced it down, like you suggested, not using SSL could be the
problem. I tried to setup Outlook 2013 with plain http and get an error
while account configuration dialog. I captured the traffic with
wireshark. Outlook 2013 only tries to connect to port 443 in my case
even if I supply the server address including port. That seems to be the
problem. Try to enable SSL.

Surprisingly using Windows Mail (shipped with Windows 10) and ActiveSync
works with plain http.

>
> Thanks for your time.
>
>
> Best regards,
> Daniel
>
Regards,
Andreas

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.18.

Top of page