1

Topic: Problem with Sogo Install

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.2 OPENLDAP edition.
- Deployed with iRedMail Easy or the downloadable installer?: Downloadable install
- Linux/BSD distribution name and version: Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi All,

I attempted to install Sogo after I had already installed sogo. I followed these instructions:
https://docs.iredmail.org/sogo-centos-6-openldap.html

I can get to a login prompt but after login I get a blank screen.

I tailed '/var/log/sogo/sogo.log' and I can see the following entries:

2025-04-23 12:27:41.448 sogod[51319:51319] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'o=domains,dc=johnathome,dc=online' filter '(&(|(mail=john@hart.london)(mail=john@hart.london))(objectClass=mailUser)(accountStatus=active)(enabledService=mail))' for attrs '*'
2025-04-23 12:27:41.453 sogod[51319:51319] <MySQL4Channel[0x0x55cd54f355a0] connection=0x0x55cd55104660> SQL: SELECT c_defaults FROM sogo_user_profile WHERE c_uid = 'john@hart.london';
2025-04-23 12:27:41.457 sogod[51319:51319] <MySQL4Channel[0x0x55cd54f355a0] connection=0x0x55cd55104660>   query has results, entering fetch-mode.
2025-04-23 12:27:41.459 sogod[51319:51319] <MySQL4Channel[0x0x55cd55097810] connection=0x0x55cd54810290> SQL: select character_octet_length as CHARACTER_MAXIMUM_LENGTH from information_schema.columns where table_name = 'sogo_user_profile' AND column_name = 'c_defaults';
2025-04-23 12:27:41.459 sogod[51319:51319] <MySQL4Channel[0x0x55cd55097810] connection=0x0x55cd54810290>   query has results, entering fetch-mode.
2025-04-23 12:27:41.460 sogod[51319:51319] ---------- -[MySQL4Channel primaryCloseChannel]: <MySQL4Channel[0x0x55cd55097810] connection=0x0x55cd54810290> close channel count[3]
2025-04-23 12:27:41.460 sogod[51319:51319] <MySQL4Channel[0x0x55cd54f355a0] connection=0x0x55cd55104660> SQL: SELECT c_settings FROM sogo_user_profile WHERE c_uid = 'john@hart.london';
2025-04-23 12:27:41.460 sogod[51319:51319] <MySQL4Channel[0x0x55cd54f355a0] connection=0x0x55cd55104660>   query has results, entering fetch-mode.
2025-04-23 12:27:41.467 sogod[51319:51319] EXCEPTION: <NSException: 0x55cd55184e00> NAME:NSInvalidArgumentException REASON:NGImap4ConnectionManager(class) does not recognize defaultConnectionManager: INFO:(null)
Apr 23 12:27:41 sogod [51319]: 109.152.210.71 "POST /SOGo/so/john@hart.london/Mail/0/folderINBOX/changes HTTP/1.0" 501 0/126 0.100 - - 1M - 15

Attached is my Sogo config. Please can someone help me?

Post's attachments

sogo.conf 4.4 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Problem with Sogo Install

Try this:
- Setup a new VM with same OS release as your current production server.
- Install latest iRedMail with SOGo on this VM.
- Copy full /etc/sogo/sogo.conf to your production server, replace the SQL username/passwords in sogo.conf by the real ones on your production server.
- Copy /etc/sogo/sieve.cred to your production server. Also copy file /etc/dovecot/dovecot-master-users too, it contains dovecot master user used by sogo.
- Restart SOGo service on production server.