Hello,

I am using the latest version of Dovecot on a FreeBSD box.
I am trying to figure out which password scheme to use to comply with my database backend which is administered by "postfix admin".

Here is an example of the password that can be generated in the database using the various encryption schemes available in postfix admin:

$1$a733fb07$/g1h6opQxemdWUtzD2/kQ.  --> md5crypt
25f9e794323b453885f5181f1b624d0b --> md5
acFhkap78XB2I  --> system

I am not certain I have understood very well how things all feet together…

I have tried to modify the various options in dovecot-mysql.conf in order to comply with these settings: I have updated "default_pass_scheme" to "PLAIN-MD5, DIGEST-MD5, and CRYPT" but none of this seems to work.


Do I have to modify something in dovecot.conf?
For the moment I have these settings:

auth default {
    mechanisms = plain login

passdb sql {
        args = /usr/local/etc/dovecot-mysql.conf
  }

userdb sql {
        args = /usr/local/etc/dovecot-mysql.conf
  }
socket listen {
            client {
              path = /var/spool/postfix/private/auth
              mode = 0660
              user = postfix
              group = postfix
            }
          }
}



The main idea is simply not to have cleatext passwd in the DB.


Thanks for your support.


¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

P "Please consider your environmental responsibility before printing this e-mail"


Reply via email to