1

Topic: issue with inbox messages in webmail

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

Hello, some mailboxes have issues with the list of messages
A test can be viewed in  https://www.youtube.com/watch?v=DYmUKeZoW8w

In the /var/log/dovecot/dovecot.log appears the next log:

Sep 17 10:22:16 imap-login: Info: Login: user=<asistentegerencia@bessonesturismocolombia.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=9507, secured, session=<gDgM84OvWJt/AAAB>
Sep 17 10:22:17 imap(asistentegerencia@bessonesturismocolombia.com): Info: Connection closed: read(size=7621) failed: Connection reset by peer (UID fetch finished 0.016 secs ago) in=571 out=139734
Sep 17 10:22:37 imap(asistentegerencia@bessonesturismocolombia.com): Info: Connection closed (UID store finished 22.628 secs ago) in=275 out=39559

What can be the origin of this issue

Thanks

----

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

2

Re: issue with inbox messages in webmail

Hello,

Can you please help us with that issue

Thanks

3

Re: issue with inbox messages in webmail

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

4

Re: issue with inbox messages in webmail

ZhangHuangbin wrote:

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

Hello, we found the next info in the sogo.log :

Sep 21 10:19:37 sogod [21420]: <0x0x55e449074670[NGImap4Client]> ERROR(-[NGImap4Client _processCommandParserException:]): catched IMAP4 parser exception NGImap4ParserException: unsupported fetch key: nil
Sep 21 10:19:37 sogod [21420]: [ERROR] <0x0x55e45476cf70[NGImap4Connection]> Error fetching 100 uids for url: imap://asistentegerencia%40bessonesturismocolombia.com@127.0.0.1/INBOX/?tls=NO&tlsVerifyMode=default

The issue only affects these mailbox. Other mailboxes in the same domain works fine

5 (edited by andrzej 2020-09-22 14:36:39)

Re: issue with inbox messages in webmail

ZhangHuangbin wrote:

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

Good morning ZhangHuangbin, I have the exact same issue (https://forum.iredmail.org/topic17349-s … ectly.html). Let us continue working in this post.

My log - after logging in, while reloading the whole Inbox page.
I removed the account, added it back into iRedAdmin and copied all emails etc back. Same issue.

Sep 22 02:31:04 sogod [2941]: 213.216.80.234, 192.168.0.3 "GET /SOGo/so/magdalena@moskalska.pl/Mail/view HTTP/1.0" 200 22096/0 0.047 84530 73% 0 - 15
Sep 22 02:31:04 sogod [2946]: [ERROR] <0x0x5629e6c52a30[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x5629e6ff7450]: method=POST uri=/SOGo/so/magdalena@moskalska.pl/Mail/0/folderINBOX/expunge app=SOGo rqKey=so rqPath=magdalena@moskalska.pl/Mail/0/folderINBOX/expunge> (len=0): the socket was shutdown
Sep 22 02:31:04 sogod [2946]: 213.216.80.234, 192.168.0.3 "POST /SOGo/so/magdalena@moskalska.pl/Mail/0/folderINBOX/expunge HTTP/1.0" 204 0/0 0.316 - - 0 - 17
Sep 22 02:31:05 sogod [2946]: 213.216.80.234, 192.168.0.3 "GET /SOGo/so/magdalena@moskalska.pl/Calendar/alarmslist?browserTime=1600756264 HTTP/1.0" 200 63/0 0.007 - - 0 - 16
Sep 22 02:31:05 sogod [2941]: 213.216.80.234, 192.168.0.3 "POST /SOGo/so/magdalena@moskalska.pl/Mail/0/folderINBOX/view HTTP/1.0" 200 2424/126 0.460 - - 0 - 16
Sep 22 02:31:06 sogod [2945]: 213.216.80.234, 192.168.0.3 "GET /SOGo/so/magdalena@moskalska.pl/Mail/0/view HTTP/1.0" 200 9639/0 0.612 - - 0 - 15
Sep 22 02:31:06 sogod [2945]: <0x0x5629e743cd50[NGImap4ResponseParser]> WARNING: IMAP4 envelope address not properly closed (c0=(,c1="): (null)
Sep 22 02:31:06 sogod [2945]: <0x0x5629e7c0c1a0[NGImap4Client]> ERROR(-[NGImap4Client _processCommandParserException:]): catched IMAP4 parser exception NGImap4ParserException: unsupported fetch key: nil
Sep 22 02:31:06 sogod [2945]: [ERROR] <0x0x5629e6d12ae0[NGImap4Connection]> Error fetching 100 uids for url: imap://magdalena%40moskalska.pl@127.0.0.1/INBOX/?tls=NO&tlsVerifyMode=default
Sep 22 02:31:06 sogod [2945]: [WARN] <0x5629e7326580[SOGoMailFolder]:folderINBOX> IMAP connection is broken, trying to reconnect...
Sep 22 02:31:06 sogod [2945]: 213.216.80.234, 192.168.0.3 "POST /SOGo/so/magdalena@moskalska.pl/Mail/0/folderINBOX/view HTTP/1.0" 200 3480/45 0.575 - - 824K - 16
Sep 22 02:31:07 sogod [2945]: 213.216.80.234, 192.168.0.3 "POST /SOGo/so/magdalena@moskalska.pl/Mail/unseenCount HTTP/1.0" 200 21/31 0.310 - - 0 - 15
Sep 22 02:31:07 sogod [2941]: <0x0x5629e6ae1ee0[NGImap4ResponseParser]> WARNING: IMAP4 envelope address not properly closed (c0=(,c1="): (null)
Sep 22 02:31:07 sogod [2941]: <0x0x5629e6b27c50[NGImap4Client]> ERROR(-[NGImap4Client _processCommandParserException:]): catched IMAP4 parser exception NGImap4ParserException: unsupported fetch key: nil
Sep 22 02:31:07 sogod [2941]: [ERROR] <0x0x5629ebbeaf00[NGImap4Connection]> Error fetching 100 uids for url: imap://magdalena%40moskalska.pl@127.0.0.1/INBOX/?tls=NO&tlsVerifyMode=default
Sep 22 02:31:07 sogod [2941]: 213.216.80.234, 192.168.0.3 "POST /SOGo/so/magdalena@moskalska.pl/Mail/0/folderINBOX/headers HTTP/1.0" 200 148/510 0.333 - - 348K - 14

6 (edited by alexandercolhost 2020-09-23 03:36:30)

Re: issue with inbox messages in webmail

ZhangHuangbin wrote:

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

Additionally we:

- moved some affected messages from the inbox folder to another folder and the issue persist
- created a new mailbox and migrated all the messages and the issue persist
- we used the command to remove duplicate but the issue persist ( doveadm deduplicate -u user@domain -m ALL )

- we isolated one message in a folder, then we renamed it and the message load, the issue can be related about a specific code or name of the message? how we can solve this issue if the folder have a lot of messages?

Thanks

7

Re: issue with inbox messages in webmail

alexandercolhost wrote:
ZhangHuangbin wrote:

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

Additionally we:

- moved some affected messages from the inbox folder to another folder and the issue persist
- created a new mailbox and migrated all the messages and the issue persist
- we used the command to remove duplicate but the issue persist ( doveadm deduplicate -u user@domain -m ALL )

- we isolated one message in a folder, then we renamed it and the message load, the issue can be related about a specific code or name of the message? how we can solve this issue if the folder have a lot of messages?

Thanks


Hello, please help us with this issue. Thanks

8

Re: issue with inbox messages in webmail

Did you try other MUA like Roundcube webmail, Thunderbird, Outlook?
If they works, then it's likely a SOGo bug, and you should report this to SOGo bug tracker:
https://sogo.nu/bugs/

9

Re: issue with inbox messages in webmail

Outlook, Thunderbird and Android email app work with no issues.

10

Re: issue with inbox messages in webmail

alexandercolhost wrote:

Hello, please help us with this issue. Thanks

I have added a new issue on SOGo:
https://sogo.nu/bugs/view.php?id=5174

Can you add your information to this?

Thanks!

11

Re: issue with inbox messages in webmail

Try to update SOGoIMAPServer in /etc/sogo/sogo.conf:

SOGoIMAPServer = “smtp://127.0.0.1:143”;

Restart sogo service and try again.

12

Re: issue with inbox messages in webmail

ZhangHuangbin wrote:

Try to update SOGoIMAPServer in /etc/sogo/sogo.conf:

SOGoIMAPServer = “smtp://127.0.0.1:143”;

Restart sogo service and try again.

IMAP server to SMTP?

13

Re: issue with inbox messages in webmail

andrzej wrote:

IMAP server to SMTP?

My mistake, it's imap:

SOGoIMAPServer = "imap://127.0.0.1:143";