As near as I can tell, nothing else has changed except upgrading from the 
previous version in the Debian testing repos, whichh I believe was also a 
variant of 2.2.5.

I get a 404 now for e.g. https://tohuw.net/SOGo/so/tohuw/Mail/view

Nothing in syslog or so regarding LDAP failures, and my other LDAP 
authenticated softwares are working fine.

In sogo.log, I see cycles like this:
2014-07-17 04:03:09.980 sogod[24672] WOCompoundElement: pool embedding is on.
2014-07-17 04:03:09.980 sogod[24672] WOCompoundElement: id logging is on.
127.0.0.1 - - [17/Jul/2014:04:03:09 GMT] "GET /SOGo/ HTTP/1.0" 302 0/0 0.021 - 
- 984K
127.0.0.1 - - [17/Jul/2014:04:03:10 GMT] "GET /SOGo/ HTTP/1.0" 302 0/0 0.003 - 
- 0
127.0.0.1 - - [17/Jul/2014:04:03:10 GMT] "GET /SOGo/tohuw HTTP/1.0" 302 0/0 
0.003 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:10 GMT] "GET /SOGo/tohuw/view HTTP/1.0" 302 
0/0 0.003 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:10 GMT] "GET /SOGo/so/tohuw/Mail HTTP/1.0" 302 
0/0 0.002 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:10 GMT] "GET /SOGo/so/tohuw/Mail/view 
HTTP/1.0" 404 208/0 0.003 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:13 GMT] "PROPFIND /SOGo/dav/tohuw/Calendar/ 
HTTP/1.0" 401 0/2097 0.001 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:14 GMT] "PROPFIND /SOGo/dav/tohuw/Calendar/ 
HTTP/1.0" 207 1236/2097 0.007 6057 79% 60K
127.0.0.1 - - [17/Jul/2014:04:03:14 GMT] "PROPPATCH /SOGo/dav/tohuw/Calendar/ 
HTTP/1.0" 403 250/425 0.002 - - -4K
127.0.0.1 - - [17/Jul/2014:04:03:14 GMT] "PROPPATCH /SOGo/dav/tohuw/Calendar/ 
HTTP/1.0" 403 254/430 0.004 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:14 GMT] "PROPFIND 
/SOGo/dav/tohuw/Calendar/inbox/ HTTP/1.0" 207 301/181 0.003 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:19 GMT] "OPTIONS /SOGo/dav//tohuw/ HTTP/1.0" 
401 0/0 0.001 - - 4K
127.0.0.1 - - [17/Jul/2014:04:03:19 GMT] "OPTIONS /SOGo/dav//tohuw/ HTTP/1.0" 
200 0/0 0.002 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:19 GMT] "PROPFIND /SOGo/dav//tohuw/ HTTP/1.0" 
207 522/439 0.003 1630 67% 8K
127.0.0.1 - - [17/Jul/2014:04:03:20 GMT] "OPTIONS /SOGo/dav//tohuw/ HTTP/1.0" 
200 0/0 0.002 - - 0
127.0.0.1 - - [17/Jul/2014:04:03:20 GMT] "PROPFIND /SOGo/dav//tohuw/Contacts/ 
HTTP/1.0" 207 609/717 0.005 2753 77% 4K
127.0.0.1 - - [17/Jul/2014:04:03:20 GMT] "PROPFIND 
/SOGo/dav//tohuw/Contacts/public/ HTTP/1.0" 207 506/717 0.003 1366 62% 0
127.0.0.1 - - [17/Jul/2014:04:03:20 GMT] "PROPFIND 
/SOGo/dav//tohuw/Contacts/personal/ HTTP/1.0" 207 312/181 0.003 - - 0

sogo.conf:
{
SOGoProfileURL = "mysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile";
OCSFolderInfoURL = "mysql://sogo:sogo@localhost:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL = 
"mysql://sogo:sogo@localhost:3306/sogo/sogo_sessions_folder";
OCSEMailAlarmsFolderURL = 
"mysql://sogo:sogo@localhost:3306/sogo/sogo_alarms_folder";

SOGoSMTPServer = 127.0.0.1;
SOGoMailDomain = tohuw.net;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = NO;
SOGoMailSpoolPath = /var/spool/sogo;

SOGoIMAPServer = localhost;
NGImap4ConnectionStringSeparator = "/";
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;

SOGoIMAPAclConformsToIMAPExt = YES;
SOGoMailAuxiliaryUserAccountsEnabled = YES;
SOGoDefaultCalendar = "personal";

SOGoHideSystemEmail = YES;

SOGoSieveServer = sieve://127.0.0.1:4190;
SOGoSieveScriptsEnabled = YES;
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSieveServer = sieve://127.0.0.1:4190;

SOGoAppointmentSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = YES;
SOGoEnableEmailAlarms = YES;

SOGoUserSources = (
    {
        type = ldap;
        CNFieldName = cn;
        IDFieldName = uid;
        UIDFieldName = uid;
        baseDN = "ou=Users,dc=tohuw,dc=net";
        bindDN = "uid=sogo,ou=Services,dc=tohuw,dc=net";
        bindPassword = [redacted];
        canAuthenticate = YES;
        displayName = "Shared Addresses";
        hostname = ldap://127.0.0.1:389;
        id = public;
        isAddressBook = YES;
    }
);

SOGoPasswordChangeEnabled = YES;

SOGoPageTitle = Webmail;
SOGoLanguage = English;
SOGoTimeZone = America/New_York;
}

Nginx Config:
server {
  server_name tohuw.net;
  return https://$http_host$request_uri?;
}
server {
  listen 443;
  server_name tohuw.net;
  ssl on;
  include global/certs/tohuw_net.conf;
  include global/defaults/defaults.conf;
  location / {
    root /srv/www/tohuwnet;
  }
  location = /search {
    return 301 /search.html$is_args$args;
  }
  location /stats {
    alias /usr/share/piwik;
  }
  location /stats/index.php {
    alias /usr/share/piwik/index.php;
    fastcgi_pass unix:/var/run/php5-fpm.sock;
    include global/php.conf;
    include global/geoip.conf;
  }
  location /stats/piwik.php {
    alias /usr/share/piwik/piwik.php;
    fastcgi_pass unix:/var/run/php5-fpm.sock;
    include global/php.conf;
  }
  location = /webmail {
    rewrite ^ https://$server_name/SOGo; 
    allow all; 
  }
  location ^~/SOGo {
    proxy_pass http://127.0.0.1:20000; 
    proxy_redirect http://127.0.0.1:20000 default; 
    proxy_set_header X-Real-IP $remote_addr; 
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    proxy_set_header x-webobjects-server-protocol HTTP/1.0; 
    proxy_set_header x-webobjects-remote-host 127.0.0.1;
    proxy_set_header x-webobjects-server-name $server_name; 
    proxy_set_header x-webobjects-server-url $scheme://$host; 
    proxy_set_header x-webobjects-server-port $server_port; 
    proxy_connect_timeout 90;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    proxy_buffer_size 4k;
    proxy_buffers 4 32k;
    proxy_busy_buffers_size 64k;
    proxy_temp_file_write_size 64k;
    client_max_body_size 50m;
    client_body_buffer_size 128k;
  }
  location /SOGo.woa/WebServerResources/ {
    alias /usr/lib/GNUstep/SOGo/WebServerResources/;
    allow all;
  }
  location /SOGo/WebServerResources/ {
    alias /usr/lib/GNUstep/SOGo/WebServerResources/; 
    allow all; 
  }
  location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
    alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2; 
  }
  location 
^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$ {
    alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2; 
  }
  location = /principals/ {
    rewrite ^ https://$server_name/SOGo/dav; 
    allow all; 
  }
  include global/seafile.conf;
}
server {
  listen 8843;
  ssl on;
  ssl_certificate /etc/ssl/certs/tohuw_net.pem;
  ssl_certificate_key /etc/ssl/private/tohuw_net.key;

  server_name tohuw.net;

  location = /principals {
  rewrite ^ $scheme://$server_name/SOGo/dav; 
  allow all; 
  }
  
  location ^~/SOGo {
    proxy_pass http://127.0.0.1:20000/SOGo/dav; 
    proxy_set_header x-webobjects-server-protocol HTTP/1.0; 
    proxy_set_header x-webobjects-remote-host 127.0.0.1; 
    proxy_set_header x-webobjects-server-name $server_name:8843; 
    proxy_set_header x-webobjects-server-url $scheme://$host:8843; 
    proxy_set_header x-webobjects-server-port $server_port; 
    proxy_connect_timeout 90;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    proxy_buffer_size 4k;
    proxy_buffers 4 32k;
    proxy_busy_buffers_size 64k;
    proxy_temp_file_write_size 64k;
    client_max_body_size 50m;
    client_body_buffer_size 128k;
  }
  location ^~/SOGo/dav {
    proxy_pass http://127.0.0.1:20000/SOGo/dav; 
    proxy_set_header x-webobjects-server-protocol HTTP/1.0; 
    proxy_set_header x-webobjects-remote-host 127.0.0.1; 
    proxy_set_header x-webobjects-server-name $server_name:8843; 
    proxy_set_header x-webobjects-server-url $scheme://$host:8843; 
    proxy_set_header x-webobjects-server-port $server_port; 
    proxy_connect_timeout 90;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    proxy_buffer_size 4k;
    proxy_buffers 4 32k;
    proxy_busy_buffers_size 64k;
    proxy_temp_file_write_size 64k;
    client_max_body_size 50m;
    client_body_buffer_size 128k;
  }
}




-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to