IMAP connection not kept alive
-
Hi Guys,
just a question, do others experience imap connection drops due to No commands been send?
I was not able to find an option in the imap config how often a “ping” is done to the imap server to not run into the connection close due to no command been send.Jan 20 12:01:30 imap(michael.klein)<585104><QSsfaQHWSqV/AAAB>: Info: Connection closed (No commands sent) in=0 out=400 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
-
I don’t think I can be of particular help, but I ran
journalctl -u kopano-gateway | grep -i “No commands sent”
on three different servers with a variety of IMAP clients (Outlook, Thunderbird, some iOS) and on all three of those servers there were no log entries for this message. Log duration available to check was between 1 and 4 months. So I guess it’s not normal?
The servers are using version kopano-gateway 10.0.6.502 and kopano-gateway 11.0.1.77 on Ubuntu 20.04 LTS.
Or did I misunderstand you and the log is from someplace else? You did not specifically mention kopano-gateway, but that’s the IMAP server so…
-
What kind of networking setup are you using?
Reason why I’m asking, some cloud providers have different TCP idle connection timeout values.
Marc
-
@junglemarc Guess what, the chance in dovecot and postfix also fixed this :-(. I have the feeling that one if the settings i did set in dovecot was causing the whole issue :-(.
Now the only errors i see in the log are already known things like missing mime implementations and other minor things
Thanks for the suggestions and help! =)
-
Good to hear you got it done. Can you share on here what config you tried and what you changed? It would make it valuable info for others who runs in same situation.
Marc