From 4534ab8771aa563ba7628b78e2321a4322a13a9e Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 20 Jun 2009 13:21:10 +0000 Subject: - Password plugin: added poppassd driver --- plugins/password/config.inc.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'plugins/password/config.inc.php') 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; + ?> -- cgit v1.2.3