1

I'm getting this connection string error in the RoundCube logs:

IMAP Error: Login failed for xxx against localhost from xxx. Empty startup greeting (localhost:143) in xxx/public_html/program/lib/Roundcube/rcube_imap.php on line 211 (POST /?_task=mail&_action=refresh)

I've looked around for days and found all types of suggestions and I've done most of them. I've changed my SSL/TLS certificate and ports, checked my network firewalls, etc.

The big issue for me is that I don't get this message all of the time. I get it about 10% of the time, but I have 50 users that are all trying to use RoundCube all day and they are each sporadically/intermittently getting this message which adds up to hundreds throughout the day. When they do, the site doesn't work, but if they wait or refresh enough times, it does.

It feels like a resource issue, but resources seem to check out fine on the VirtualMin and Apache Server Status screens. I'm at a loss as to where to check next to troubleshoot.

Other notes:

  • Fail2Ban is installed, but I have whitelisted the appropriate IP addresses.
  • MariaDB is used, I do not have "require SSL" turned on, in the database and I've increased the maximum connections up to 300 from the 150 default.
  • This server is strictly email, so there are no other websites eating the resources. It's using 4 core CPU and 8gb of Memory in a virtual environment.
  • RoundCube is installed in the "webmail" subdomain with SSL redirection turned on and everything tested to be working from my environment. But, it continues to sporadically fail for my clients from all 8 of their locations.
  • Email clients are not showing any errors that I know of - just RoundCube.
  • Apache Server Status - Server load: 0.23 0.31 0.26; Total accesses: 700 - Total Traffic: 3.5 MB - Total Duration: 97627; CPU Usage: u1.28 s.69 cu0 cs0 - .112% CPU load.

Some Logs I've looked at:

  • /var/log/mail.log - I can see some SSL_accept errors in their, but these seem to be more from dovecot/postfix in trying to send/receive email.
  • /var/log/apache2/error.log - Not showing any errors.
  • syslog - Only showing connections, no errors.

Any suggestions/feedback is appreciated!

Adam
  • 31
  • Can anyone explain why the downvote rather than any help to answer? Was the question too vague or lacking information? @sotirov, was this your downvote because of your choice in formatting? – Adam Sep 27 '23 at 19:11
  • So far, it looks like the answer is to change the default_process_limit in the /etc/dovecot/conf.d/10-master.conf file. If this holds up to be the answer, I'll put it below. At this time, there have been no other suggestions, but this seems to have fixed the issue. – Adam Sep 27 '23 at 19:13
  • Nope, the downvote is not from me. – sotirov Sep 27 '23 at 19:17
  • Weird, shows "daily summary" downvoted then upvoted. I'm not on this enough to know what that means. Thanks for the edits and quick response here @sotirov, I'll try to keep them in mind for the next one. – Adam Sep 27 '23 at 19:20
  • The upvote is from me, I don't see anything wrong with your question. – sotirov Sep 27 '23 at 19:22

1 Answers1

1

Adding this as the answer - it seems to have resolved the issue.

Changing the default_process_limit setting in /etc/dovecot/conf.d/10-master.conf on my Virtualmin/Ubuntu server has fixed the issue.

Adam
  • 31