-
Notifications
You must be signed in to change notification settings - Fork 101
V2 Password Schemes
Barry O'Donovan edited this page Feb 11, 2014
·
1 revision
ViMbAdmin supports many password schemes - see the following extract from application.ini.dist
:
; 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)
; "crypt" - standard DES hash (compatible with MySQL ENCRYPT and courier - be sure to
; set a two character hash below
; "md5.crypt" - MD5 based salted password hash nowadays commonly used in /etc/shadow.
; (compatible with Dovecot) Requires min 8 character hash below.
; "sha1" - password hashed using sha1 without salt
; "sha1.salted" - password hashed using sha1 with salt defined below
; "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'
defaults.mailbox.password_scheme = "md5"
; The path to (and initial option(s) if necessary) the Dovecot password generator. Typical
; values may be something like:
;
; "/usr/bin/doveadm pw"
; "/usr/bin/dovecotpw"
defaults.mailbox.dovecot_pw_binary = "/usr/bin/doveadm pw"
; A hash to use when storing passwords. Typically used with "crypt"
; which only uses the first two characters and includes this in the
; final hash. For other schemes such as md5.salted then your mail system
; will also need to know and use this hash (or use Dovecot for authentication)
defaults.mailbox.password_hash = "ChangeMePlease"