Hi again, I found the problem. It wasn't anything in the /etc/sogo/sogo.conf at all. The problem was with the Apache configuration. When I comment out this line
> RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e" > env=HTTP_HOST from /etc/httpd/conf.d/SOGo.conf everything works as it should. Julian Am Wed, 19 Sep 2018 16:29:44 +0200 schrieb "Julian Kippels" ([email protected]) <[email protected]>: > Hi, > > I just installed the nightly-rpms for SOGo on a current CentOS 7. > When I log in I get the "Welcome Firstname Lastname"-Message and then > I get immediately dumped to another login page. I can't see any > reason for this behaviour and haven't been able to find anything > about this anywhere. Does anyone here have an idea what I may be > doing wrong? > > The sogo.log-file says the following: > > Sep 19 16:17:36 sogod [10643]: |SOGo| starting method 'POST' on uri > '/SOGo/connect' Sep 19 16:17:36 sogod [10643]: > <0x0x5617a8122110[SOGoCache]> Cache cleanup interval set every > 300.000000 seconds Sep 19 16:17:36 sogod [10643]: > <0x0x5617a8122110[SOGoCache]> Using host(s) 'localhost' as server(s) > Sep 19 16:17:36 sogod [10643]: <0x0x5617a8238cb0[NGLdapConnection]> > Using ldap_initialize for LDAP URL: ldap://10.92.25.10:389 Sep 19 > 16:17:36 sogod [10643]: SOGoRootPage successful login from > 'redacted-ip' for user 'pruefer' - expire = -1 grace = -1 Sep 19 > 16:17:36 sogod [10643]: <0x0x5617a82341a0[NGLdapConnection]> Using > ldap_initialize for LDAP URL: ldap://10.92.25.10:389 2018-09-19 > 16:17:36.041 sogod[10643] -[NGLdapConnection > _searchAtBaseDN:qualifier:attributes:scope:]: search at base '' > filter '(objectClass=*)' for attrs 'subschemaSubentry' 2018-09-19 > 16:17:36.044 sogod[10643] -[NGLdapConnection > _searchAtBaseDN:qualifier:attributes:scope:]: search at base > 'cn=schema' filter '(objectClass=*)' for attrs 'objectclasses' > 2018-09-19 16:17:36.133 sogod[10643] -[NGLdapConnection > _searchAtBaseDN:qualifier:attributes:scope:]: search at base > 'ou=people,o=test.uni-duesseldorf.de,o=internet' filter > '(|(uid=pruefer)(mail=pruefer))' for attrs '*' 2018-09-19 > 16:17:36.141 sogod[10643] PostgreSQL72 connection established: > <0x0x5617a830ed90[PGConnection]: connection=0x0x5617a830ef40> > 2018-09-19 16:17:36.141 sogod[10643] PostgreSQL72 channel > 0x0x5617a830e6c0 opened (connection=<0x0x5617a830ed90[PGConnection]: > connection=0x0x5617a830ef40>) 2018-09-19 16:17:36.141 sogod[10643] > PG0x0x5617a830e6c0 SQL: BEGIN TRANSACTION 2018-09-19 16:17:36.141 > sogod[10643] PG0x0x5617a830e6c0 SQL: SELECT t1.c_creationdate, > t1.c_id, t1.c_lastseen, t1.c_value FROM sogo_sessions_folder t1 > WHERE t1.c_id='C/S7eVbmKKZLtyBnLljbkQ==' 2018-09-19 16:17:36.143 > sogod[10643] PG0x0x5617a830e6c0 SQL: ROLLBACK TRANSACTION 2018-09-19 > 16:17:36.144 sogod[10643] PG0x0x5617a7ebcb90 SQL: BEGIN TRANSACTION > 2018-09-19 16:17:36.144 sogod[10643] PG0x0x5617a7ebcb90 SQL: INSERT > INTO sogo_sessions_folder (c_lastseen, c_creationdate, c_value, c_id) > VALUES (1537366656, 1537366656, > 'IwwMxImzH1P49pkQnOruAyCWuIF0fe2gLcplupLTiM60VPsZoCoedhRpc7BKPgb8Saga8z9n1cPKPBT6fvfSnL1hIIfQ6H0zgVMge79kcVtaUPzUeYgbJqodjgDoJVivLr5AtlYMqLkaVxoJTXl/0iwfaZmnVKhAi/PDDEN6DuBYui2tmVxXj0DoqyTElB2xhPFCPuM/bFbPMymBOLqUaw==', > 'C/S7eVbmKKZLtyBnLljbkQ==') 2018-09-19 16:17:36.145 sogod[10643] > PG0x0x5617a7ebcb90 SQL: COMMIT TRANSACTION Sep 19 16:17:36 sogod > [10643]: [WARN] <0x0x5617a8346bb0[SOGoWebDAVAclManager]> entry > '{DAV:}write' already exists in DAV permissions table Sep 19 16:17:36 > sogod [10643]: [WARN] <0x0x5617a8346bb0[SOGoWebDAVAclManager]> entry > '{DAV:}write-properties' already exists in DAV permissions table Sep > 19 16:17:36 sogod [10643]: [WARN] > <0x0x5617a8346bb0[SOGoWebDAVAclManager]> entry '{DAV:}write-content' > already exists in DAV permissions table 2018-09-19 16:17:36.148 > sogod[10643] PG0x0x5617a830e6c0 SQL: SELECT c_settings FROM > sogo_user_profile WHERE c_uid = 'pruefer' Sep 19 16:17:36 sogod > [10643]: |SOGo| request took 0.126637 seconds to execute Sep 19 > 16:17:36 sogod [10643]: 134.99.4.85 "POST /SOGo/connect HTTP/1.1" 200 > 50/58 0.130 - - 4M Sep 19 16:17:36 sogod [10643]: |SOGo| terminating > app, vMem size limit (384 MB) has been reached (currently 391 MB) Sep > 19 16:17:36 sogod [10639]: <0x0x5617a7ea5a40[WOWatchDogChild]> child > 10643 exited Sep 19 16:17:36 sogod [10639]: > <0x0x5617a7f580f0[WOWatchDog]> child spawned with pid 10651 > 2018-09-19 16:17:36.178 sogod[10651] PostgreSQL72 connection > established: <0x0x5617a7bfd6f0[PGConnection]: > connection=0x0x5617a7ff6760> 2018-09-19 16:17:36.178 sogod[10651] > PostgreSQL72 channel 0x0x5617a7f96090 opened > (connection=<0x0x5617a7bfd6f0[PGConnection]: > connection=0x0x5617a7ff6760>) 2018-09-19 16:17:36.178 sogod[10651] > PG0x0x5617a7f96090 SQL: SELECT count(*) FROM sogo_user_profile > 2018-09-19 16:17:36.180 sogod[10651] PG0x0x5617a7f96090 SQL: SELECT > count(*) FROM sogo_folder_info 2018-09-19 16:17:36.181 sogod[10651] > PG0x0x5617a7f96090 SQL: SELECT count(*) FROM sogo_sessions_folder Sep > 19 16:17:36 sogod [10651]: <0x0x5617a7c1c040[WOHttpAdaptor]> notified > the watchdog that we are ready Sep 19 16:17:37 sogod [10651]: |SOGo| > starting method 'GET' on uri '/SOGo/so/pruefer' Sep 19 16:17:37 sogod > [10651]: <0x0x5617a81161b0[SOGoCache]> Cache cleanup interval set > every 300.000000 seconds Sep 19 16:17:37 sogod [10651]: > <0x0x5617a81161b0[SOGoCache]> Using host(s) 'localhost' as server(s) > 2018-09-19 16:17:37.241 sogod[10651] PG0x0x5617a7f96090 SQL: SELECT > c_defaults FROM sogo_user_profile WHERE c_uid = 'anonymous' Sep 19 > 16:17:37 sogod [10651]: |SOGo| request took 0.029154 seconds to > execute Sep 19 16:17:37 sogod [10651]: 134.99.4.85 > "GET /SOGo/so/pruefer HTTP/1.1" 200 8721/0 0.032 28112 68% 4M Sep 19 > 16:17:37 sogod [10651]: |SOGo| terminating app, vMem size limit (384 > MB) has been reached (currently 391 MB) Sep 19 16:17:37 sogod > [10639]: <0x0x5617a7ea5a40[WOWatchDogChild]> child 10651 exited Sep > 19 16:17:37 sogod [10639]: <0x0x5617a7ea5a40[WOWatchDogChild]> > avoiding to respawn child before 2018-09-19 16:17:41 +0200 Sep 19 > 16:17:41 sogod [10639]: <0x0x5617a7f580f0[WOWatchDog]> child spawned > with pid 10652 2018-09-19 16:17:41.121 sogod[10652] PostgreSQL72 > connection established: <0x0x5617a7c7a450[PGConnection]: > connection=0x0x5617a800e700> 2018-09-19 16:17:41.121 sogod[10652] > PostgreSQL72 channel 0x0x5617a7f116d0 opened > (connection=<0x0x5617a7c7a450[PGConnection]: > connection=0x0x5617a800e700>) 2018-09-19 16:17:41.121 sogod[10652] > PG0x0x5617a7f116d0 SQL: SELECT count(*) FROM sogo_user_profile > 2018-09-19 16:17:41.122 sogod[10652] PG0x0x5617a7f116d0 SQL: SELECT > count(*) FROM sogo_folder_info 2018-09-19 16:17:41.124 sogod[10652] > PG0x0x5617a7f116d0 SQL: SELECT count(*) FROM sogo_sessions_folder Sep > 19 16:17:41 sogod [10652]: <0x0x5617a7bfc570[WOHttpAdaptor]> notified > the watchdog that we are ready > > My /etc/sogo/sogo.conf-files looks like this: > > SOGoProfileURL = > "postgresql://sogo:[email protected]:5432/sogo/sogo_user_profile"; > OCSFolderInfoURL = > "postgresql://sogo:[email protected]:5432/sogo/sogo_folder_info"; > OCSSessionsFolderURL = > "postgresql://sogo:[email protected]:5432/sogo/sogo_sessions_folder"; > SOGoDraftsFolderName = Drafts; SOGoSentFolderName = Sent; > SOGoTrashFolderName = Trash; SOGoIMAPServer = 10.92.25.8; > SOGoSieveServer = sieve://10.92.25.8:4190; SOGoSMTPServer = > 10.92.25.7; SOGoMailDomain = test.uni-duesseldorf.de; > SOGoMailingMechanism = smtp; > SOGoForceExternalLoginWithEmail = NO; > SOGoMailSpoolPath = /var/spool/sogo; > NGImap4ConnectionStringSeparator = "/"; > SOGoPasswordChangeEnabled = NO; > SOGoUserSources = ( > { > type = ldap; > CNFieldName = cn; > UIDFieldName = uid; > IDFieldName = uid; // first field of the DN for direct binds > baseDN = "ou=people,o=test.uni-duesseldorf.de,o=internet"; > bindAsCurrentUser = YES; > canAuthenticate = YES; > displayName = "Shared Addresses"; > hostname = ldap://10.92.25.10:389; > id = LDAP-Test; > isAddressBook = YES; > } > ); > SOGoPageTitle = SOGo; > SOGoVacationEnabled = YES; > SOGoForwardEnabled = YES; > SOGoSieveScriptsEnabled = YES; > SOGoMailAuxiliaryUserAccountsEnabled = YES; > SOGoTrustProxyAuthentication = NO; > SOGoXSRFValidationEnabled = YES; > SOGoLoginModule = Mail; > SOGoLanguage = German; > SOGoTimeZone = Europe/Berlin; > SOGoCalendarDefaultRoles = ( > PublicDAndTViewer, > ConfidentialDAndTViewer > ); > SOGoSuperUsernames = (postmaster); // This is an array - keep the > parens! SxVMemLimit = 384; > WOPidFile = "/var/run/sogo/sogo.pid"; > SOGoMemcachedHost = "localhost"; > SOGoDebugRequests = YES; > SoDebugBaseURL = YES; > ImapDebugEnabled = YES; > LDAPDebugEnabled = YES; > PGDebugEnabled = YES; > SOGoUIxDebugEnabled = YES; > > Thanks in advance > Julian -- [email protected] https://inverse.ca/sogo/lists
