Cyberpanel lightspeed Droplet: Rainloop - users cannot log into accounts

Posted September 6, 2019 4.3k views
DigitalOceanUbuntu 18.04

Installed a Cyberpanel Litespeed Droplet. Created user account. Users setup mail account with Rainloop. Users cannot log into the mail account. Admin can log into the Rainloop administration area. How to use Rainloop with Cyberpanel or how can users log into their Rainloop accounts? Now it always gives Authentication Failed.

  • I have a similar problem. In mail.log I see:
    dovecot: auth-worker(19083): Error: sql(<email>,,<session>): Invalid password in passdb: crypt() failed: Invalid argument

    I’ve tried connecting via external clients, it also refuses the connection. I’m thinking it may be dovecot problem not rainloop itself.

  • Allowing postfix as below didn’t resolve this particular problem.
    chmod 644 /etc/postfix/
    It may have solved another error, but not the Invalid password in passdb: crypt()

  • /etc/dovecot/dovecot-sql.conf.ext

    passwordquery = SELECT email as user, password FROM eusers WHERE email=’%u’;
    userquery = SELECT ‘5000’ as uid, '5000’ as gid, mail FROM eusers WHERE email=’%u’;

    I think this is the standard way of handling pwds, decryption happens elsewhere. …?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

I would suggest enabling error logging and then checking the error logs for more information.

Also this thread here provides some very useful information:

I would recommend reading it.

It’s been a while, I just want to share a link here about how to access webmail with Cyberpanel.