1

Topic: SOGO Webmail personal Preferences doesn't save to work

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.3
- Deployed with iRedMail Easy or the downloadable installer? :downloadable installer
- Linux/BSD distribution name and version: Centos 7
- 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.
====
Dear Sir,

I used SOGO webmail on my iRedmail server。When I make any changes to setting inside SOGo, I get this message popped on right side top corner. It saves whatever changes I made but then I still get error. Then Save button doesn’t turn gray and when I try to change tab, I get message saying “Do you want to save your changes made to the configuration?” and I select don’t save but it still works. I know it did because I tested those setting and it works even I select don’t save when it prompts.

Is anyone else having same problem ? How to fixit ? Thanks。

Post's attachments

1638544057-971783-screenshot-from-2021-12-03-09-54-02.png 203 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: SOGO Webmail personal Preferences doesn't save to work

Any related error in SOGo log file? /var/log/sogo/sogo.log

3 (edited by iamapo 2023-07-04 14:37:47)

Re: SOGO Webmail personal Preferences doesn't save to work

ZhangHuangbin wrote:

Any related error in SOGo log file? /var/log/sogo/sogo.log

Thanks, my sogo log is below:

Jul 03 21:35:22 sogod [2469]: 192.168.11.254 "POST /SOGo/so/passwordRecoveryEnabled HTTP/1.0" 403 0/51 0.018 - - 4K - 14
Jul 03 21:35:22 sogod [2469]: SOGoRootPage successful login from '192.168.11.254' for user 'michael.lai@coopola.co' - expire = -1  grace = -1
Jul 03 21:35:22 sogod [2469]: 192.168.11.254 "POST /SOGo/connect HTTP/1.0" 200 43/92 0.030 - - 0 - 15
Jul 03 21:35:23 sogod [2469]: 192.168.11.254 "GET /SOGo/so/michael.lai%40coopola.co HTTP/1.0" 302 0/0 0.012 - - 0 - 15
Jul 03 21:35:23 sogod [2469]: 192.168.11.254 "GET /SOGo/so/michael.lai%40coopola.co/view HTTP/1.0" 302 0/0 0.009 - - 0 - 15
Jul 03 21:35:23 sogod [2469]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/Mail HTTP/1.0" 302 0/0 0.006 - - 0 - 15
Jul 03 21:35:23 sogod [2469]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/Mail/view HTTP/1.0" 200 20988/0 0.097 89313 76% 4K - 15
Jul 03 21:35:24 sogod [2469]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/Calendar/alarmslist?browserTime=1688434524 HTTP/1.0" 200 60/0 0.060 - - 76K - 15
Jul 03 21:35:24 sogod [2466]: 192.168.11.254 "POST /SOGo/so/michael.lai@coopola.co/Mail/0/folderINBOX/changes HTTP/1.0" 200 24/126 0.426 - - 0 - 13
Jul 03 21:35:24 sogod [2472]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/Mail/0/view HTTP/1.0" 200 830/0 0.535 - - 0 - 16
Jul 03 21:35:25 sogod [2472]: 192.168.11.254 "POST /SOGo/so/michael.lai@coopola.co/Mail/0/folderINBOX/view HTTP/1.0" 200 123/48 0.492 - - 0 - 16
Jul 03 21:35:25 sogod [2472]: 192.168.11.254 "POST /SOGo/so/michael.lai@coopola.co/Mail/unseenCount HTTP/1.0" 200 19/31 0.345 - - 0 - 15
Jul 03 21:35:25 sogod [2466]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/Mail/0/folderINBOX/labels HTTP/1.0" 200 2/0 0.392 - - 0 - 13
Jul 03 21:35:31 sogod [2472]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/Preferences HTTP/1.0" 200 28605/0 0.274 129102 77% 432K - 15
Jul 03 21:35:31 sogod [2466]: [ERROR] <0x0x559a512a48e0[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x559a513e87b0]: method=POST uri=/SOGo/so/michael.lai@coopola.co/Mail/0/folderINBOX/expunge app=SOGo rqKey=so rqPath=michael.lai@coopola.co/Mail/0/folderINBOX/expunge> (len=48): the socket was shutdown
Jul 03 21:35:31 sogod [2466]: 192.168.11.254 "POST /SOGo/so/michael.lai@coopola.co/Mail/0/folderINBOX/expunge HTTP/1.0" 200 48/0 0.431 - - 252K - 13
Jul 03 21:35:32 sogod [2466]: <0x0x559a50e0a8c0[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in DAV permissions table
Jul 03 21:35:32 sogod [2466]: <0x0x559a50e0a8c0[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already exists in DAV permissions table
Jul 03 21:35:32 sogod [2466]: <0x0x559a50e0a8c0[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already exists in DAV permissions table
Jul 03 21:35:32 sogod [2466]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/Calendar/alarmslist?browserTime=1688434532 HTTP/1.0" 200 60/0 0.104 - - 844K - 14
2023-07-03 21:35:32.218 sogod[2469:2469] SSL(cert_verify_callback): Certificate validation failed
2023-07-03 21:35:32.219 sogod[2469:2469] ERROR(-[NGActiveSSLSocket startTLS]): couldn't setup SSL connection on host 127.0.0.1 (certificate verify failed)
Jul 03 21:35:32 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> Could not start TLS.
Jul 03 21:35:32 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> WARNING: got exception try to restore connection: <NGSocketShutdownDuringWriteException: 0x559a516f0a60> NAME:NGSocketShutdownDuringWriteException REASON:the socket was shutdown INFO:{errno = 32; error = "Broken pipe"; stream = "{object = 0x559a51567310;}"; }
Jul 03 21:35:32 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> WARNING: got exception try to restore connection: <NGSocketException: 0x559a515e21d0> NAME:NGSocketException REASON:NGActiveSocket is not open
Jul 03 21:35:32 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> WARNING: got exception try to restore connection: <NGSocketException: 0x559a5177b420> NAME:NGSocketException REASON:NGActiveSocket is not open
Jul 03 21:35:32 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> reconnect to <0x0x559a5185e7e0[NGInternetSocketAddress]: host=127.0.0.1 port=4190>, sleeping 4 seconds ...
Jul 03 21:35:32 sogod [2472]: 192.168.11.254 "POST /SOGo/so/michael.lai@coopola.co/Mail/0/folderINBOX/changes HTTP/1.0" 200 24/126 0.438 - - 0 - 16
Jul 03 21:35:35 sogod [2472]: 192.168.11.254 "POST /SOGo/so/michael.lai@coopola.co/labels HTTP/1.0" 200 14360/24 0.074 - - 344K - 15
Jul 03 21:35:36 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> reconnect ...
Jul 03 21:35:36 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> WARNING: got exception try to restore connection: <NGSocketException: 0x559a515d69d0> NAME:NGSocketException REASON:NGActiveSocket is not open
Jul 03 21:35:36 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> reconnect to <0x0x559a5185e7e0[NGInternetSocketAddress]: host=127.0.0.1 port=4190>, sleeping 6 seconds ...
Jul 03 21:35:42 sogod [2469]: <0x0x559a51548e10[NGSieveClient]> reconnect ...
Jul 03 21:35:42 sogod [2469]: [ERROR] <0x0x559a515f7260[SOGoSieveManager]> Sieve connection failed on sieve://127.0.0.1:4190/?tls=YES
Jul 03 21:35:42 sogod [2469]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/activeExternalSieveScripts HTTP/1.0" 500 72/0 10.183 - - 1M - 15
Jul 03 21:35:43 sogod [2469]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/editFilter?filter=new HTTP/1.0" 200 2029/0 0.097 8176 75% 0 - 15
Jul 03 21:35:44 sogod [2472]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/Mail/0/view HTTP/1.0" 200 830/0 0.397 - - 0 - 16
Jul 03 21:38:31 sogod [2472]: SOGoUserHomePage user 'michael.lai@coopola.co' logged off
Jul 03 21:38:31 sogod [2472]: 192.168.11.254 "GET /SOGo/so/michael.lai@coopola.co/logoff HTTP/1.0" 302 0/0 0.035 - - 0 - 14
Jul 03 21:38:31 sogod [2472]: 192.168.11.254 "GET /SOGo/so/ HTTP/1.0" 200 10644/0 0.038 38179 72% -308K - 14
-------------------------------------------------------------------------------------------------------------------
I think the "Sieve connection failed on sieve://127.0.0.1:4190/?tls=YES" maybe a problem。

4

Re: SOGO Webmail personal Preferences doesn't save to work

What's the value of "SOGoSieveServer" parameter in /etc/sogo/sogo.conf?
Default value set by iRedMail installer is:

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

Seems your value misses "&tlsVerifyMode=allowInsecureLocalhost"?

5

Re: SOGO Webmail personal Preferences doesn't save to work

ZhangHuangbin wrote:

What's the value of "SOGoSieveServer" parameter in /etc/sogo/sogo.conf?
Default value set by iRedMail installer is:

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

Seems your value misses "&tlsVerifyMode=allowInsecureLocalhost"?

I added the value "&tlsVerifyMode=allowInsecureLocalhost",still got same error info:
------------------------------------------------------------------------------------------------------------------------
Jul 04 11:15:00 sogod [8317]: 192.168.11.86 "POST /SOGo/so/hello@coopola.co/Mail/unseenCount HTTP/1.0" 200 19/31 0.480 - - 0 - 14
Jul 04 11:15:00 sogod [8318]: 192.168.11.86 "GET /SOGo/so/hello@coopola.co/Mail/0/folderINBOX/labels HTTP/1.0" 200 2/0 0.479 - - 0 - 15
2023-07-04 11:15:02.558 sogod[8318:8318] SSL(cert_verify_callback): Certificate validation failed
Jul 04 11:15:02 sogod [8318]: <0x0x55bc4b6f2f50[NGImap4Client]> TLS started successfully.
Jul 04 11:15:02 sogod [8317]: 192.168.11.86 "GET /SOGo/so/hello@coopola.co/Preferences HTTP/1.0" 200 31545/0 0.544 131212 75% 0 - 15
Jul 04 11:15:03 sogod [8319]: <0x0x55bc4b665560[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Jul 04 11:15:03 sogod [8319]: <0x0x55bc4b665560[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Jul 04 11:15:03 sogod [8318]: [ERROR] <0x0x55bc4bbd3e00[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x55bc4bbfa6b0]: method=POST uri=/SOGo/so/hello@coopola.co/Mail/0/folderINBOX/expunge app=SOGo rqKey=so rqPath=hello@coopola.co/Mail/0/folderINBOX/expunge> (len=51): the socket was shutdown
Jul 04 11:15:03 sogod [8318]: 192.168.11.86 "POST /SOGo/so/hello@coopola.co/Mail/0/folderINBOX/expunge HTTP/1.0" 200 51/0 0.863 - - 0 - 15
Jul 04 11:15:03 sogod [8322]: 192.168.11.86 "GET /SOGo/so/hello@coopola.co/Calendar/alarmslist?browserTime=1688483703 HTTP/1.0" 200 60/0 0.097 - - 0 - 15
2023-07-04 11:15:03.388 sogod[8317:8317] SSL(cert_verify_callback): Certificate validation failed
Jul 04 11:15:03 sogod [8319]: [ERROR] <0x0x55bc4b6d6780[SOGoSieveManager]> Sieve connection failed on sieve://127.0.0.1:4190/?tls=YES&tlsVerifyMode=allowInsecureLocalhost
Jul 04 11:15:03 sogod [8319]: 192.168.11.86 "GET /SOGo/so/hello@coopola.co/activeExternalSieveScripts HTTP/1.0" 500 72/0 0.278 - - 3M - 12
Jul 04 11:15:03 sogod [8317]: <0x0x55bc4b927710[NGImap4Client]> TLS started successfully.
Jul 04 11:15:03 sogod [8317]: 192.168.11.86 "POST /SOGo/so/hello@coopola.co/Mail/0/folderINBOX/changes HTTP/1.0" 200 25/126 0.821 - - 0 - 16
Jul 04 11:15:08 sogod [8317]: 192.168.11.86 "POST /SOGo/so/hello@coopola.co/labels HTTP/1.0" 200 14219/24 0.058 - - 0 - 15
Jul 04 11:15:11 sogod [8317]: SOGoUserHomePage user 'hello@coopola.co' logged off
Jul 04 11:15:11 sogod [8317]: 192.168.11.86 "GET /SOGo/so/hello@coopola.co/logoff HTTP/1.0" 302 0/0 0.043 - - 0 - 15
Jul 04 11:15:11 sogod [8317]: 192.168.11.86 "GET /SOGo/so/ HTTP/1.0" 200 10651/0 0.059 38180 72% 8K - 15
------------------------------------------------------------------------------------------------------------------------
I also do the connection test on localhost, no response。
[root@mail ~]# telnet 127.0.0.1 4190
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

6

Re: SOGO Webmail personal Preferences doesn't save to work

- Any related error in /var/log/dovecot/*.log?
- Is dovecot listening on port 4190?

7

Re: SOGO Webmail personal Preferences doesn't save to work

ZhangHuangbin wrote:

- Any related error in /var/log/dovecot/*.log?
- Is dovecot listening on port 4190?

Dovecot.log, imap.log, lda.log, pop3.log and sieve.log are in /var/log/dovecot。
ButI found no related errors in those files.
My dovecot server is listening on port 110 for pop3, on port 143 for imap, on port 993 for imaps, on port 995 for pop3s and on port 4190 for managesieve-login。
Actually, my real problem is that vacation and forward functions not working properly and cannot save settings. Always get "Service temporarily unavailable" message。