Bump!

I seem to have gotten more debug information:


Nov 28 06:24:09 sogod [52594]: |SOGo| request took 0.317055 seconds to
execute
Nov 28 06:24:09 sogod [52594]: 172.16.2.104 "POST /SOGo/connect HTTP/1.1"
200 56/84 0.321 - - 5M - 13
Nov 28 06:24:10 sogod [52594]: |SOGo| starting method 'GET' on uri
'/SOGo/so/odhiambo@newideatest.local'
Nov 28 06:24:10 sogod [52594]: |SOGo| traverse(acquire):
odhiambo@newideatest.local
Nov 28 06:24:10 sogod [52594]: |SOGo|   do traverse name:
'odhiambo@newideatest.local'
Nov 28 06:24:10 sogod [52594]: |SOGo|   traverse miss:
name=odhiambo@newideatest.local, acquire: i=0,count=1
Nov 28 06:24:10 sogod [52594]: |SOGo|     miss is last object.
Nov 28 06:24:10 sogod [52594]: |SOGo|     handle miss error:
<SoAuthRequiredException: 0x561b13930d50> NAME:SoAuthRequired
REASON:authentication required
Nov 28 06:24:10 sogod [52594]: |SOGo| request took 0.032842 seconds to
execute
Nov 28 06:24:10 sogod [52594]: 172.16.2.104 "GET
/SOGo/so/odhiambo@newideatest.local HTTP/1.1" 200 7779/0 0.035 29219 73% 1M
- 13

On further digging, I found this thread:
https://www.mail-archive.com/users@sogo.nu/msg27988.html


I went with a toothcomb into my webserver config and modified some values
under the proxy settings block, which now contains:

<Proxy http://127.0.0.1:20000/SOGo>
## Adjust the following to your configuration
## and make sure to enable the headers module
<IfModule headers_module>
  RequestHeader set "x-webobjects-server-port" "80"
  SetEnvIf Host (.*) HTTP_HOST=$1
  RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
  RequestHeader set "x-webobjects-server-url" "http://%{HTTP_HOST}e";
env=HTTP_HOST

  AddDefaultCharset UTF-8

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
  RequestHeader unset "x-webobjects-remote-user"
  RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"
env=REMOTE_USER

  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
</IfModule>

This leads to the web UI beginning to load, but with an error: An error
occured while communicating with the mail server

Here is what I see in sogo.log:

Nov 28 06:45:46 sogod [53415]: |SOGo| request took 0.031020 seconds to
execute
Nov 28 06:45:46 sogod [53415]: 172.16.2.104 "POST /SOGo/connect HTTP/1.1"
403 34/84 0.033 - - 0 - 13
Nov 28 06:46:04 sogod [53415]: |SOGo| starting method 'POST' on uri
'/SOGo/connect'
Nov 28 06:46:04 sogod [53415]: |SOGo| traverse(acquire): SOGo => connect
Nov 28 06:46:04 sogod [53415]: |SOGo|   do traverse name: 'SOGo'
Nov 28 06:46:04 sogod [53415]: |SOGo|   do traverse name: 'connect'
Nov 28 06:46:04 sogod [53415]: |SOGo| set clientObject:
<SOGo[0x0x557e460fb210]: name=SOGo>
Nov 28 06:46:04 sogod [53415]: <0x0x557e46588390[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://127.0.0.1:389
Nov 28 06:46:04 sogod [53415]: SOGoRootPage successful login from
'172.16.2.104' for user 'odhiambo@newideatest.local' - expire = -1  grace =
-1
Nov 28 06:46:04 sogod [53415]: |SOGo| request took 0.048955 seconds to
execute
Nov 28 06:46:04 sogod [53415]: 172.16.2.104 "POST /SOGo/connect HTTP/1.1"
200 56/84 0.051 - - 0 - 13
Nov 28 06:46:05 sogod [53415]: |SOGo| starting method 'GET' on uri
'/SOGo/so/odhiambo@newideatest.local'
Nov 28 06:46:05 sogod [53415]: <0x0x557e464e60e0[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://127.0.0.1:389
Nov 28 06:46:05 sogod [53415]: <0x0x557e4658dd60[NGLdapConnection]> Using
ldap_initialize for LDAP URL: ldap://127.0.0.1:389
2020-11-28 06:46:05.991 sogod[53415:53415] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base '' filter
'(objectClass=*)' for attrs 'subschemaSubentry'
2020-11-28 06:46:05.992 sogod[53415:53415] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base
'CN=Aggregate,CN=Schema,CN=Configuration,DC=newideatest,DC=local' filter
'(objectClass=*)' for attrs 'objectclasses'
2020-11-28 06:46:06.004 sogod[53415:53415] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search at base
'cn=users,dc=newideatest,dc=local' filter
'(&(|(sAMAccountName=odhiambo)(mail=odhiambo))(mail=*))' for attrs 'dn'
Nov 28 06:46:06 sogod [53415]: |SOGo| traverse(acquire):
odhiambo@newideatest.local
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name:
'odhiambo@newideatest.local'
Nov 28 06:46:06 sogod [53415]: |SOGo| set clientObject:
<0x557e466aa290[SOGoUserFolder]: name=odhiambo
container=0x557e460fb210/(null)>
Nov 28 06:46:06 sogod [53415]: |SOGo| request took 0.057933 seconds to
execute
Nov 28 06:46:06 sogod [53415]: 172.16.2.104 "GET
/SOGo/so/odhiambo@newideatest.local HTTP/1.1" 302 0/0 0.061 - - 916K - 14
Nov 28 06:46:06 sogod [53415]: |SOGo| starting method 'GET' on uri
'/SOGo/so/odhiambo@newideatest.local/view'
Nov 28 06:46:06 sogod [53415]: |SOGo| traverse(acquire):
odhiambo@newideatest.local => view
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name:
'odhiambo@newideatest.local'
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: 'view'
Nov 28 06:46:06 sogod [53415]: |SOGo| set clientObject:
<0x557e464be8f0[SOGoUserFolder]: name=odhiambo
container=0x557e460fb210/(null)>
Nov 28 06:46:06 sogod [53415]: |SOGo|   constructed root-url: /SOGo/
Nov 28 06:46:06 sogod [53415]: |SOGo|   setting root-url in context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e464be8f0[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo@newideatest.local/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: |SOGo| request took 0.007616 seconds to
execute
Nov 28 06:46:06 sogod [53415]: 172.16.2.104 "GET
/SOGo/so/odhiambo@newideatest.local/view HTTP/1.1" 302 0/0 0.010 - - 0 - 13
Nov 28 06:46:06 sogod [53415]: |SOGo| starting method 'GET' on uri
'/SOGo/so/odhiambo/Mail'
Nov 28 06:46:06 sogod [53415]: |SOGo| traverse(acquire): odhiambo => Mail
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: 'odhiambo'
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: 'Mail'
Nov 28 06:46:06 sogod [53415]: |SOGo| set clientObject:
<0x557e46204c10[SOGoMailAccounts]: name=Mail
container=0x557e46550690/odhiambo>
Nov 28 06:46:06 sogod [53415]: |SOGo| request took 0.005946 seconds to
execute
Nov 28 06:46:06 sogod [53415]: 172.16.2.104 "GET /SOGo/so/odhiambo/Mail
HTTP/1.1" 302 0/0 0.008 - - 0 - 13
Nov 28 06:46:06 sogod [53415]: |SOGo| starting method 'GET' on uri
'/SOGo/so/odhiambo/Mail/view'
Nov 28 06:46:06 sogod [53415]: |SOGo| traverse(acquire): odhiambo => Mail
=> view
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: 'odhiambo'
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: 'Mail'
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: 'view'
Nov 28 06:46:06 sogod [53415]: |SOGo| set clientObject:
<0x557e464cb8e0[SOGoMailAccounts]: name=Mail
container=0x557e4654db40/odhiambo>
Nov 28 06:46:06 sogod [53415]: |SOGo|   constructed root-url: /SOGo/
Nov 28 06:46:06 sogod [53415]: |SOGo|   setting root-url in context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e4654db40[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo/Mail/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: |SOGo|   using root-url from context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e4654db40[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo/Mail/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: <0x557e464cb8e0[SOGoMailAccounts]:Mail>
baseURL: name=Mail (container=SOGoUserFolder)
  container: /SOGo/so/odhiambo/
  own: /SOGo/so/odhiambo/Mail
Nov 28 06:46:06 sogod [53415]: |SOGo|   using root-url from context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e4654db40[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo/Mail/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: |SOGo|   using root-url from context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e4654db40[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo/Mail/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: |SOGo|   using root-url from context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e4654db40[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo/Mail/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: |SOGo|   using root-url from context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e4654db40[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo/Mail/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: |SOGo|   using root-url from context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e4654db40[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo/Mail/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: |SOGo|   using root-url from context:
/SOGo/so/
Nov 28 06:46:06 sogod [53415]: |SOGo| ROOT baseURL(no container,
name=(null)):
  own: /SOGo/so/
Nov 28 06:46:06 sogod [53415]: <0x557e4654db40[SOGoUserFolder]:odhiambo>
baseURL: name=odhiambo (container=SOGo)
  container: /SOGo --
http://adc0.newideatest.local/SOGo/so/odhiambo/Mail/view
  own: /SOGo/so/odhiambo
Nov 28 06:46:06 sogod [53415]: |SOGo| request took 0.117421 seconds to
execute
Nov 28 06:46:06 sogod [53415]: 172.16.2.104 "GET
/SOGo/so/odhiambo/Mail/view HTTP/1.1" 200 19064/0 0.120 82110 76% 4M - 13
Nov 28 06:46:06 sogod [53415]: |SOGo| starting method 'POST' on uri
'/SOGo/so/odhiambo/Mail/0/folderINBOX/view'
Nov 28 06:46:06 sogod [53416]: |SOGo| starting method 'GET' on uri
'/SOGo/so/odhiambo/Calendar/alarmslist?browserTime=1606563963'
Nov 28 06:46:06 sogod [53416]: <0x0x557e45e2c290[SOGoCache]> Cache cleanup
interval set every 300.000000 seconds
Nov 28 06:46:06 sogod [53416]: <0x0x557e45e2c290[SOGoCache]> Using host(s)
'localhost' as server(s)
Nov 28 06:46:06 sogod [53415]: |SOGo| traverse(acquire): odhiambo => Mail
=> 0 => folderINBOX => view
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: 'odhiambo'
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: 'Mail'
Nov 28 06:46:06 sogod [53415]: |SOGo|   do traverse name: '0'
Nov 28 06:46:06 sogod [53416]: |SOGo| traverse(acquire): odhiambo =>
Calendar => alarmslistNov 28 06:46:06 sogod [53415]: |SOGo|   do traverse
name: 'folderINBOX'

Nov 28 06:46:06 sogod [53416]: |SOGo|   do traverse name: 'odhiambo'
Nov 28 06:46:06 sogod [53416]: |SOGo|   do traverse name: 'Calendar'
Nov 28 06:46:06 sogod [53416]: [WARN]
<0x0x557e45ebd5e0[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists
in DAV permissions table
Nov 28 06:46:06 sogod [53416]: [WARN]
<0x0x557e45ebd5e0[SOGoWebDAVAclManager]> entry '{DAV:}write-properties'
already exists in DAV permissions table
Nov 28 06:46:06 sogod [53416]: [WARN]
<0x0x557e45ebd5e0[SOGoWebDAVAclManager]> entry '{DAV:}write-content'
already exists in DAV permissions table
Nov 28 06:46:06 sogod [53416]: |SOGo|   do traverse name: 'alarmslist'
Nov 28 06:46:06 sogod [53414]: |SOGo| starting method 'GET' on uri
'/SOGo/so/odhiambo/Mail/0/view'
Nov 28 06:46:06 sogod [53414]: <0x0x557e4618e640[SOGoCache]> Cache cleanup
interval set every 300.000000 seconds
Nov 28 06:46:06 sogod [53414]: <0x0x557e4618e640[SOGoCache]> Using host(s)
'localhost' as server(s)
Nov 28 06:46:06 sogod [53414]: |SOGo| traverse(acquire): odhiambo => Mail
=> 0 => view
Nov 28 06:46:06 sogod [53414]: |SOGo|   do traverse name: 'odhiambo'
Nov 28 06:46:06 sogod [53414]: |SOGo|   do traverse name: 'Mail'
Nov 28 06:46:06 sogod [53414]: |SOGo|   do traverse name: '0'
Nov 28 06:46:06 sogod [53414]: |SOGo|   do traverse name: 'view'
Nov 28 06:46:06 sogod [53416]: |SOGo| set clientObject:
<0x557e45e688a0[SOGoAppointmentFolders]: name=Calendar
container=0x557e45e790c0/odhiambo>
Nov 28 06:46:06 sogod [53416]: |SOGo| request took 0.116756 seconds to
execute
Nov 28 06:46:06 sogod [53416]: 172.16.2.104 "GET
/SOGo/so/odhiambo/Calendar/alarmslist?browserTime=1606563963 HTTP/1.1" 200
63/0 0.121 - - 2M - 13
*Nov 28 06:46:09 sogod [53415]: [ERROR]
<0x0x557e465f3500[NGImap4ConnectionManager]> IMAP4 login failed:*
*  host=localhost, user=odhiambo, pwd=yes*
*  url=imap://odhiambo@localhost/?tls=NO&tlsVerifyMode=default*
*  base=(null)*
*  base-class=(null))*
*  = <0x0x557e46762c70[NGImap4Client]: login=odhiambo(pwd)
socket=<NGActiveSocket[0x0x557e46597730]: mode=rw
address=<0x0x557e464e6f60[NGInternetSocketAddress]: host=localhost
port=39690> connectedTo=<0x0x557e4657b260[NGInternetSocketAddress]:
host=localhost port=143>>>*
*Nov 28 06:46:09 sogod [53415]: <0x557e468a7230[SOGoMailAccount]:0>
renewing imap4 password*
*Nov 28 06:46:09 sogod [53414]: [ERROR]
<0x0x557e45e452c0[NGImap4ConnectionManager]> IMAP4 login failed:*
*  host=localhost, user=odhiambo, pwd=yes*
*  url=imap://odhiambo@localhost/?tls=NO&tlsVerifyMode=default*
*  base=(null)*
*  base-class=(null))*
  = <0x0x557e462372f0[NGImap4Client]: login=odhiambo(pwd)
socket=<NGActiveSocket[0x0x557e45ebefb0]: mode=rw
address=<0x0x557e45ebf080[NGInternetSocketAddress]: host=localhost
port=39698> connectedTo=<0x0x557e45fd5390[NGInternetSocketAddress]:
host=localhost port=143>>>
Nov 28 06:46:09 sogod [53414]: <0x557e45e026b0[SOGoMailAccount]:0> renewing
imap4 password
Nov 28 06:46:11 sogod [53415]: [ERROR]
<0x0x557e465f3500[NGImap4ConnectionManager]> IMAP4 login failed:
  host=localhost, user=odhiambo, pwd=yes
  url=imap://odhiambo@localhost/?tls=NO&tlsVerifyMode=default
  base=(null)
  base-class=(null))
  = <0x0x557e4672d260[NGImap4Client]: login=odhiambo(pwd)
socket=<NGActiveSocket[0x0x557e464e1320]: mode=rw
address=<0x0x557e4654c1b0[NGInternetSocketAddress]: host=localhost
port=39708> connectedTo=<0x0x557e4654c5d0[NGInternetSocketAddress]:
host=localhost port=143>>>
Nov 28 06:46:11 sogod [53415]: [ERROR] <0x557e468a7230[SOGoMailAccount]:0>
Could not connect IMAP4
Nov 28 06:46:11 sogod [53415]: |SOGo|   do traverse name: 'view'
Nov 28 06:46:11 sogod [53414]: [ERROR]
<0x0x557e45e452c0[NGImap4ConnectionManager]> IMAP4 login failed:
  host=localhost, user=odhiambo, pwd=yes
  url=imap://odhiambo@localhost/?tls=NO&tlsVerifyMode=default
  base=(null)
  base-class=(null))
  = <0x0x557e4625ca30[NGImap4Client]: login=odhiambo(pwd)
socket=<NGActiveSocket[0x0x557e4626c0d0]: mode=rw
address=<0x0x557e4626c1a0[NGInternetSocketAddress]: host=localhost
port=39706> connectedTo=<0x0x557e4626bf80[NGInternetSocketAddress]:
host=localhost port=143>>>
Nov 28 06:46:11 sogod [53415]: |SOGo| set clientObject:
<0x557e46660510[SOGoMailFolder]: name=folderINBOX
container=0x557e468a7230/0>
Nov 28 06:46:11 sogod [53414]: [ERROR] <0x557e45e026b0[SOGoMailAccount]:0>
Could not connect IMAP4
Nov 28 06:46:11 sogod [53414]: |SOGo| set clientObject:
<0x557e45e026b0[SOGoMailAccount]: name=0 container=0x557e45e30b10/Mail>
Nov 28 06:46:11 sogod [53414]: |SOGo| request took 4.339817 seconds to
execute
Nov 28 06:46:11 sogod [53414]: 172.16.2.104 "GET
/SOGo/so/odhiambo/Mail/0/view HTTP/1.1" 200 17/0 4.345 - - 2M - 12
Nov 28 06:46:11 sogod [53415]: |SOGo| request took 4.410708 seconds to
execute
Nov 28 06:46:11 sogod [53415]: 172.16.2.104 "POST
/SOGo/so/odhiambo/Mail/0/folderINBOX/view HTTP/1.1" 500 72/126 4.413 - - 0
- 13
Nov 28 06:46:11 sogod [53415]: |SOGo| starting method 'POST' on uri
'/SOGo/so/odhiambo/Mail/unseenCount'
Nov 28 06:46:11 sogod [53415]: |SOGo| traverse(acquire): odhiambo => Mail
=> unseenCount
Nov 28 06:46:11 sogod [53415]: |SOGo|   do traverse name: 'odhiambo'
Nov 28 06:46:11 sogod [53415]: |SOGo|   do traverse name: 'Mail'
Nov 28 06:46:11 sogod [53415]: |SOGo|   do traverse name: 'unseenCount'
Nov 28 06:46:11 sogod [53415]: |SOGo| set clientObject:
<0x557e4662fed0[SOGoMailAccounts]: name=Mail
container=0x557e465c9d30/odhiambo>
Nov 28 06:46:13 sogod [53415]: [ERROR]
<0x0x557e465f3500[NGImap4ConnectionManager]> IMAP4 login failed:
  host=localhost, user=odhiambo, pwd=yes
  url=imap://odhiambo@localhost/?tls=NO&tlsVerifyMode=default
  base=(null)
  base-class=(null))
  = <0x0x557e467065d0[NGImap4Client]: login=odhiambo(pwd)
socket=<NGActiveSocket[0x0x557e465c5e10]: mode=rw
address=<0x0x557e46689540[NGInternetSocketAddress]: host=localhost
port=39712> connectedTo=<0x0x557e465ddc30[NGInternetSocketAddress]:
host=localhost port=143>>>
Nov 28 06:46:13 sogod [53415]: <0x557e4660e6d0[SOGoMailAccount]:0> renewing
imap4 password
Nov 28 06:46:15 sogod [53415]: [ERROR]
<0x0x557e465f3500[NGImap4ConnectionManager]> IMAP4 login failed:
  host=localhost, user=odhiambo, pwd=yes
  url=imap://odhiambo@localhost/?tls=NO&tlsVerifyMode=default
  base=(null)
  base-class=(null))
  = <0x0x557e465c5430[NGImap4Client]: login=odhiambo(pwd)
socket=<NGActiveSocket[0x0x557e4662a440]: mode=rw
address=<0x0x557e465e35d0[NGInternetSocketAddress]: host=localhost
port=39714> connectedTo=<0x0x557e465e0b30[NGInternetSocketAddress]:
host=localhost port=143>>>
Nov 28 06:46:15 sogod [53415]: [ERROR] <0x557e4660e6d0[SOGoMailAccount]:0>
Could not connect IMAP4
Nov 28 06:46:15 sogod [53415]: |SOGo| request took 3.814270 seconds to
execute
Nov 28 06:46:15 sogod [53415]: 172.16.2.104 "POST
/SOGo/so/odhiambo/Mail/unseenCount HTTP/1.1" 200 21/31 3.817 - - 0 - 13




Looking at the logs, it appears like SOGo is setting the user as just
"user" and not "user@domain".
When this is sent to the IMAP server, authentication fails because IMAP is
expecting a login in the form of "user@domain".

How do I resolve this?
How do I make SOGo to send the full e-mail address
(odhiambo@newideatest.local) to the IMAP server??

Definitely something to change in the SOGoUserSources below, but not sure
what it is.


 SOGoUserSources = (
                {
                type = ldap;
                CNFieldName = cn;
                UIDFieldName = sAMAccountName;
                baseDN = "cn=users,dc=newideatest,dc=local";
                bindDN = "CN=dovecot,CN=users,DC=newideatest,DC=local";
                bindPassword = "mi-secreta";
                bindFields = (sAMAccountName, mail);
                filter = "mail = '*'";
                canAuthenticate = YES;
                displayName = "NI Users";
                hostname = "ldap://127.0.0.1:389";;
                id = public_samba4AD;
                isAddressBook = YES;
                }
            );


Thanking you in advance.

I know it's a long read.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to