mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 00:36:00 +03:00
[GH-ISSUE #266] Dovecot saying "Not a valid MD5-CRYPT or PLAIN-MD5 password" (log in with Roundcube) #216
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#216
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Betalord on GitHub (May 18, 2020).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/266
I'm having the following problem: I've set up ViMbAdmin more or less as the docs say, and all works (I add domains, mailboxes etc.), but when I try to login via Roundcube, it just doesn't work (login failed). If I look at the logs, this is what I get from dovecot (/var/log/mail.log):
May 18 12:48:40 betalord dovecot: auth-worker(1709475): Error: sql(betalord@betalord.com,127.0.0.1,<GyrF5+ml+Jx/AAAB>): Invalid password in passdb: Not a valid MD5-CRYPT or PLAIN-MD5 passwordAny idea what's wrong?
@Marcwa19197 commented on GitHub (Jun 8, 2020):
Which settings are you using as "defaults.mailbox.password_scheme" in your application.ini? (Installpath/application/configs/application.ini)
The setting there must match with the Dovecot settings.
So i guess in your environment it should be set to defaults.mailbox.password_scheme = "crypt:md5"
; The password hashing function to use. Set to one of:
;
; "plain" - password stored as clear text
; "md5" - password hashed using MD5 without salt (PHP md5())
; "md5.salted" - password hashed using MD5 with salt (see below)
; "sha1" - password hashed using sha1 without salt
; "sha1.salted" - password hashed using sha1 with salt defined below
; "crypt:XXX" - call the PHP crypt function (with random salt) where XXX is one of: md5, blowfish, sha256, sha512
; "dovecot:XXX" - call the Dovecot password generator (see next option below) and use the
; scheme specified by XXX. To see available schemes, use 'dovecotpw -l'
; or 'doveadm pw -l'
@Betalord commented on GitHub (Jun 8, 2020):
I resolved the problem with help of good folks at freenode IRC. There were several things that did not work with my configuration, to be honest. Anyway, I resolved my problem, thanks anyway!