I am having this issue as well. It appears there is an issue between Sogo and Dovecot and in an hours time, there are over 700 entries. Yesterday, there were over 27k entries in the log. Here are example sogo logs:
Jun 11 06:25:13 sogod [10088]: [WARN] <0x5615f0424db0[SOGoMailAccount]:0> IMAP connection is broken, trying to reconnect...
Jun 11 06:25:13 sogod [10088]: [ERROR] <0x5615f0424db0[SOGoMailAccount]:0> Could not get a valid IMAP connection
Jun 11 06:25:13 sogod [10088]: [WARN] <0x5615f0424db0[SOGoMailAccount]:0> IMAP connection is broken, trying to reconnect...
Jun 11 06:25:13 sogod [10088]: [ERROR] <0x5615f0424db0[SOGoMailAccount]:0> Could not get a valid IMAP connection
Jun 11 06:25:13 sogod [10088]: [WARN] <0x5615f05d6170[SOGoMailFolder]:folderINBOX> IMAP connection is broken, trying to reconnect...
Jun 11 06:25:13 sogod [10088]: [ERROR] <0x5615f05d6170[SOGoMailFolder]:folderINBOX> Could not get a valid IMAP connection
Jun 11 06:25:13 sogod [10088]: [WARN] <0x5615f0424db0[SOGoMailAccount]:0> IMAP connection is broken, trying to reconnect...
Jun 11 06:25:13 sogod [10088]: [ERROR] <0x5615f0424db0[SOGoMailAccount]:0> Could not get a valid IMAP connection
Jun 11 06:25:13 sogod [10088]: [WARN] <0x5615f0424db0[SOGoMailAccount]:0> IMAP connection is broken, trying to reconnect...
Jun 11 06:25:13 sogod [10088]: [ERROR] <0x5615f0424db0[SOGoMailAccount]:0> Could not get a valid IMAP connection
Jun 11 06:25:13 sogod [10088]: [WARN] <0x5615f05d6170[SOGoMailFolder]:folderINBOX> IMAP connection is broken, trying to reconnect...
Jun 11 06:25:13 sogod [10088]: [ERROR] <0x5615f05d6170[SOGoMailFolder]:folderINBOX> Could not get a valid IMAP connection
Jun 11 06:25:13 sogod [10088]: <0x0x5615f05eda80[NGImap4Client]> ERROR(-[NGImap4Client _processUnknownCommandParserException:]): catched non-IMAP4 parsing exception NGSock
etException: NGActiveSocket is not open
Jun 11 06:25:13 sogod [10088]: [WARN] <0x5615f05d6170[SOGoMailFolder]:folderINBOX> IMAP connection is broken, trying to reconnect...
Jun 11 06:25:13 sogod [10088]: [ERROR] <0x5615f05d6170[SOGoMailFolder]:folderINBOX> Could not get a valid IMAP connection
Jun 11 06:25:13 sogod [10088]: <0x0x5615f05eda80[NGImap4Client]> ERROR(-[NGImap4Client _processUnknownCommandParserException:]): catched non-IMAP4 parsing exception NGSock
etException: NGActiveSocket is not open
Jun 11 06:25:13 sogod [10088]: [WARN] <0x5615f06e22c0[SOGoMailAccount]:0> IMAP connection is broken, trying to reconnect...
Jun 11 06:25:13 sogod [10084]: [ERROR] <0x0x5615edbb9400[WOWatchDog]> No child available to handle incoming request!
And respective dovecot logs:
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.045 secs ago) in=31 out=810
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=741, secured, session=<0/2eeuGKsst/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.044 secs ago) in=31 out=810
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=743, secured, session=<BIKgeuGKtMt/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.044 secs ago) in=31 out=810
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=752, secured, session=<IPWheuGKtst/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.044 secs ago) in=31 out=810
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=756, secured, session=<dm6jeuGKuMt/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.044 secs ago) in=31 out=810
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=758, secured, session=<LuGkeuGKust/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.044 secs ago) in=31 out=810
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=760, secured, session=<zF6meuGKvMt/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (status finished 0.000 secs ago) in=63 out=896
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=762, secured, session=<LuSneuGKvst/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.044 secs ago) in=31 out=810
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=765, secured, session=<RVmpeuGKwMt/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.045 secs ago) in=44 out=919
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=767, secured, session=<+9GqeuGKwst/AAAB>
Jun 9 06:25:13 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.044 secs ago) in=32 out=870
Jun 9 06:25:13 mail dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=769, secured, session=<UEiseuGKxMt/AAAB>
Jun 9 06:25:14 mail dovecot: imap(user@domain.com): Connection closed (select finished 0.044 secs ago) in=32 out=870
The issue started around the 13th of May and has been growing exponentially every week since. Last week there were 4 million entries in the dovecot log. Currently, there are 45 dovecot processes running. Everything seems to be working though. Any thoughts?