Hi Ivan,

if I try to connect from a browser, Apache log shows:

37.188.***.** - - [18/Mar/2017:12:22:43 +0100] "GET /Microsoft-Server-ActiveSync HTTP/1.1" 403 247 "-" "Mozilla/5.0 (Linux; Android 6.0.1; ASUS_Z00AD Build/MMB29P; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/49.0.2623.108 Mobile Safari/537.36"

An attempt to connect from BlueMail via ActiveSync leaves this trace:

150.70.***.*** - - [18/Mar/2017:12:28:24 +0100] "GET /Microsoft-Server-ActiveSync HTTP/1.1" 403 146 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)"

In both cases sogo log says:

Mar 18 12:22:43 sogod [16522]: <0x0x7fd8707f1ba0[SOGoActiveSyncDispatcher]> EAS - Forbidden access for user (null) Mar 18 12:22:43 sogod [16522]: 37.188.152.51 "GET /SOGo/Microsoft-Server-ActiveSync HTTP/1.1" 403 0/0 0.001 - - 0

It seems to me as if Apache does not pass login credentials to SOGo.

My Apache config (I just replaced my FQDN with "mydomain"):

<VirtualHost *:80>
   Servername mydomain
   DocumentRoot /usr/lib/GNUstep/SOGo/WebServerResources/
   ErrorLog /var/log/apache2/error.log
   Customlog /var/log/apache2/access.log combined
   ServerSignature Off

Alias /SOGo.woa/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/ Alias /SOGo/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/ AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

<Directory /usr/lib/GNUstep/SOGo/>
    AllowOverride None
    <IfVersion < 2.4>
        Order deny,allow
        Allow from all
    </IfVersion>
    <IfVersion >= 2.4>
        Require all granted
    </IfVersion>
    <IfModule expires_module>
      ExpiresActive On
      ExpiresDefault "access plus 1 year"
    </IfModule>
</Directory>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)">
     SetHandler default-handler
</LocationMatch>

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

ProxyPass /Microsoft-Server-ActiveSync http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync retry=60 connectiontimeout=5 timeout=360

ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0

<Proxy http://127.0.0.1:20000/SOGo>
    <IfModule headers_module>
        RequestHeader set "x-webobjects-server-port" "80"
        RequestHeader set "x-webobjects-server-url" "http://mydomain";
        RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST
    </IfModule>
     AddDefaultCharset UTF-8
     Order allow,deny
     Allow from all
</Proxy>

RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
Redirect permanent /index.html http://mydomain/SOGo
</virtualhost>

SOGo web interface works fine, the problem is only with ActiveSync.

Thank you for any tips!

Regards,
David

On 16.3.2017 09:19, mj (li...@merit.unu.edu) wrote:


On 03/15/2017 10:18 PM, "Ivan Gonzalez" (iva...@nocroom.com) wrote:
Can't open connection to server. The attempt does not even make any
trace in the sogo log. :(

Perhaps check the apache logs first.
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to