From 4534ab8771aa563ba7628b78e2321a4322a13a9e Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sat, 20 Jun 2009 09:21:10 -0400 Subject: [PATCH] - Password plugin: added poppassd driver --- plugins/password/config.inc.php | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/plugins/password/config.inc.php b/plugins/password/config.inc.php index 8fa3292..6107f20 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 @@ // %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; + ?> -- Gitblit v1.9.1