1

Topic: Unable to save user preferences in SOGo

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====

This is just information for anyone experiencing this issue.

Using SOGo v5 when trying to update a user's preferences, the message "service temporarily unavailable" appears.

The SOGo log contains the message "[ERROR] <0x0x561ec0bdeb00[SOGoSieveManager]> Sieve connection failed on sieve://127.0.0.1:4190/?tls=YES"

According to the SOGo documentation, you can use TLS providing a fully qualified domain is used or if using  127.0.0.1 you need to append '&tlsVerifyMode=allowInsecureLocalhost'.

So after changing:

SOGoSieveServer = "sieve://127.0.0.1:4190/?tls=YES";

in /etc/sogo/sogo.conf to:

SOGoSieveServer = "sieve://127.0.0.1:4190/?tls=YES&tlsVerifyMode=allowInsecureLocalhost";

and restarting SOGo, I'm able to save user preferences and no more "Sieve connection failed" messages.

2

Re: Unable to save user preferences in SOGo

I confirm it on V5 ! (thanks)

3

Re: Unable to save user preferences in SOGo

Thanks for the feedback. Better update few other parameters too:

    SOGoSMTPServer = "smtp://127.0.0.1:587/?tls=YES&tlsVerifyMode=allowInsecureLocalhost";
    SOGoMailingMechanism = smtp;
    SOGoSMTPAuthenticationType = PLAIN;

    SOGoIMAPServer = "imap://127.0.0.1:143/?tls=YES&tlsVerifyMode=allowInsecureLocalhost";

    SOGoSieveServer = "sieve://127.0.0.1:4190/?tls=YES&tlsVerifyMode=allowInsecureLocalhost";

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

4

Re: Unable to save user preferences in SOGo

Update: i added upgrade tutorial for SOGo v4 -> v5 here:
https://docs.iredmail.org/upgrade.sogo.4.to.5.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee