Hi,
I want to use CRAM-MD5 or DIGEST-MD5 (non-plaintext) authentication for master users, but Dovecot 2.2.13 rejects it with the following log:
Sep 1 06:18:08 localhost dovecot: auth: passwd-file(masteruser,10.0.1.20,master,
PLAIN and LOGIN are OK:
Sep 1 06:20:34 localhost dovecot: auth: passwd-file(masteruser,10.0.1.20,master,<SpwmAPsBgwAKAAEU>): Master user logging in as u0001 Sep 1 06:20:34 localhost dovecot: imap-login: Login: user=u0001@example.jp, method=PLAIN, rip=10.0.1.20, lip=10.0.103.100, mpid=23743, secured, session=<SpwmAPsBgwAKAAEU> Sep 1 06:20:34 localhost dovecot: imap(u0001@example.jp): SpwmAPsBgwAKAAEU: Connection closed in=13 out=663
I have the following configuration in my dovecot.conf:
auth_mechanisms = plain login cram-md5 digest-md5 disable_plaintext_auth = yes auth_master_user_separator = %
passdb { driver = passwd-file args = /etc/dovecot/passwd.masterusers master = yes pass = yes }
# don't work too #passdb { # driver = checkpassword # args = /opt/osstech/etc/dovecot/checkpassword.masterusers # master = yes # pass = yes #}
passdb { driver = ldap args = /etc/dovecot/dovecot-ldap.conf.ext }
Is this a bug or a restriction of Dovecot?
-- -- Name: SATOH Fumiyasu @ OSS Technology Corp. (fumiyas @ osstech co jp) -- Business Home: http://www.OSSTech.co.jp/ -- GitHub Home: https://GitHub.com/fumiyas/ -- PGP Fingerprint: BBE1 A1C9 525A 292E 6729 CDEC ADC2 9DCA 5E1C CBCA