summaryrefslogtreecommitdiff
path: root/plugins/password/config.inc.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-20 13:21:10 +0000
committeralecpl <alec@alec.pl>2009-06-20 13:21:10 +0000
commit4534ab8771aa563ba7628b78e2321a4322a13a9e (patch)
treeabfdfa01fb22eb2a2c069169c6d9f9ff188e57df /plugins/password/config.inc.php
parent70306a4c75ddd70eb4886496df2bee63e0b09ac4 (diff)
- Password plugin: added poppassd driver
Diffstat (limited to 'plugins/password/config.inc.php')
-rw-r--r--plugins/password/config.inc.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/plugins/password/config.inc.php b/plugins/password/config.inc.php
index 8fa329204..6107f206f 100644
--- a/plugins/password/config.inc.php
+++ b/plugins/password/config.inc.php
@@ -3,11 +3,11 @@
// Password Plugin options
// -----------------------
// A driver to use for password change. Default: "sql".
-$rcmail_config['password_driver'] = 'sql';
+$rcmail_config['password_driver'] = 'poppassd';
// Determine whether current password is required to change password.
// Default: false.
-$rcmail_config['password_confirm_current'] = false;
+$rcmail_config['password_confirm_current'] = true;
// SQL Driver options
@@ -25,7 +25,16 @@ $rcmail_config['password_db_dsn'] = '';
// %o is replaced with the password before the change
// %h is replaced with the imap host (from the session info)
// Escaping of macros is handled by this module.
-// Default: "SELECT update_passwd(%c, %u)"
+// Default: "SELECT update_passwd(%c, %u)"
$rcmail_config['password_query'] = 'SELECT update_passwd(%c, %u)';
+
+// Poppassd Driver options
+// -----------------------
+// The host which changes the password
+$rcmail_config['password_pop_host'] = 'localhost';
+
+// TCP port used for poppassd connections
+$rcmail_config['password_pop_port'] = 106;
+
?>