Rainloop webmail guidance / authentication issue

I have installed Rainloop script on our server webmail Virtual Server in addition to Roundcube to offer another options to our customers. I have, however, searched their site and here for any guidance on how to setup access to it. Currently I have done the following

  1. Added the domains of all customers who should have access
  2. Set the IMAP and SMTP Server addresses
  3. The problem is somewhere here, I have tried (I think) all combinations of "Use short login" checked/unchecked. "Use Authentication" checked/unchecked

I always get "Authentication failure" when trying to login with an email address and password that logs in fine using Roundcube.

The mail log shows the following authentication issue

Oct 31 15:53:36 ns1 dovecot: imap-login: Login: user=<customerservice-customer.com>, method=PLAIN, rip=::1, lip=::1, mpid=22477, secured, session=<5qxEkC5AMgAAAAAAAAAAAAAAAAAAAAAB> Oct 31 15:53:36 ns1 dovecot: imap(customerservice-customer.com): Disconnected: Logged out in=94 out=940 Oct 31 15:54:32 ns1 dovecot: imap-login: Disconnected (tried to use disallowed plaintext auth): user=<>, rip=x.x.x.x, lip=x.x.x.x, session=<R3+Sky5AnACi2xni> Oct 31 15:54:35 ns1 dovecot: imap-login: Disconnected (tried to use disallowed plaintext auth): user=<>, rip=x.x.x.x, lip=x.x.x.x, session= Oct 31 15:54:36 ns1 dovecot: imap-login: Login: user=<customerservice-customer.com>, method=PLAIN, rip=::1, lip=::1, mpid=22514, secured, session= Oct 31 15:54:36 ns1 dovecot: imap(customerservice-customer.com): Disconnected: Logged out in=94 out=940

Status: 
Closed (fixed)

Comments

I just found this issue and it helped resolve my authentication issue in Dovecot. https://www.virtualmin.com/node/36631

In summary I did the following

  1. Setup a "Lets Encrypt" SSL for my main webmail domain
  2. Copied it using Virtualmin to Postfix and Dovecot
  3. In Rain Loop admin for the domain I used the following settings IMAP - Secure (SSL/TLS) SMTP - Secure (SSL/TLS) Use short login (unchecked both on IMAP & SMTP) Use Authentication (Checked)
Status: Active ยป Fixed

That's great, I'm glad you were able to get it working, thanks for letting us know how you did it!