summaryrefslogtreecommitdiff
path: root/plugins/password/config.inc.php.dist
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-23 12:38:26 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-23 12:38:26 +0000
commit75b533625a638a34d8b460d5808a57f8be4b7c3f (patch)
treef6b09981cc1dc8a9448f92272e31dafedf8288ca /plugins/password/config.inc.php.dist
parent38987511c153d054441fca8d0a4c01b8c24936dd (diff)
- Password: Support dovecotpw encryption
git-svn-id: https://svn.roundcube.net/trunk@3404 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/password/config.inc.php.dist')
-rw-r--r--plugins/password/config.inc.php.dist9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist
index b9e3b9102..304b8904a 100644
--- a/plugins/password/config.inc.php.dist
+++ b/plugins/password/config.inc.php.dist
@@ -13,7 +13,7 @@ $rcmail_config['password_confirm_current'] = true;
// Require the new password to be a certain length.
// set to blank to allow passwords of any length
$rcmail_config['password_minimum_length'] = 0;
-
+
// Require the new password to contain a letter and punctuation character
// Change to false to remove this check.
$rcmail_config['password_require_nonalpha'] = false;
@@ -30,6 +30,7 @@ $rcmail_config['password_db_dsn'] = '';
// %p is replaced with the plaintext new password
// %c is replaced with the crypt version of the new password, MD5 if available
// otherwise DES.
+// %D is replaced with dovecotpw crypt method
// %o is replaced with the password before the change
// %n is replaced with the hashed version of the new password
// %q is replaced with the hashed password before the change
@@ -43,6 +44,12 @@ $rcmail_config['password_db_dsn'] = '';
// Default: "SELECT update_passwd(%c, %u)"
$rcmail_config['password_query'] = 'SELECT update_passwd(%c, %u)';
+// Path for dovecotpw (if not in $PATH)
+// $rcmail_config['password_dovecotpw'] = '/usr/local/sbin/dovecotpw';
+
+// Dovecot method (dovecotpw -s 'method')
+$rcmail_config['password_dovecotpw_method'] = 'CRAM-MD5';
+
// Using a password hash for %n and %q variables.
// Determine which hashing algorithm should be used to generate
// the hashed new and current password for using them within the