Explorar el Código

configs for roundcubemail password reset plugin

Serghey Rodin hace 13 años
padre
commit
3e960b5b86
Se han modificado 2 ficheros con 36 adiciones y 0 borrados
  1. 3 0
      install/0.9.7/rhel/roundcube-main.conf
  2. 33 0
      install/0.9.7/rhel/roundcube-pw.conf

+ 3 - 0
install/0.9.7/rhel/roundcube-main.conf

@@ -289,5 +289,8 @@ $rcmail_config['max_pagesize'] = 200;
 // mime magic database
 $rcmail_config['mime_magic'] = '/usr/share/misc/magic';
 
+// password reset plugin
+$rcmail_config['plugins'] = array('password');
+
 // end of config file
 ?>

+ 33 - 0
install/0.9.7/rhel/roundcube-pw.conf

@@ -0,0 +1,33 @@
+<?php
+
+// Password Plugin options
+// -----------------------
+// A driver to use for password change. Default: "sql".
+// See README file for list of supported driver names.
+$rcmail_config['password_driver'] = 'vesta';
+
+// Require the new password to be a certain length.
+// set to blank to allow passwords of any length
+$rcmail_config['password_minimum_length'] = 6;
+
+// Require the new password to contain a letter and punctuation character
+// Change to false to remove this check.
+$rcmail_config['password_require_nonalpha'] = false;
+
+// Enables logging of password changes into logs/password
+$rcmail_config['password_log'] = false;
+
+// Comma-separated list of login exceptions for which password change
+// will be not available (no Password tab in Settings)
+$rcmail_config['password_login_exceptions'] = null;
+
+
+// By default domains in variables are using unicode.
+// Enable this option to use punycoded names
+$rcmail_config['password_idn_ascii'] = false;
+
+// Vesta Driver options
+// -----------------------
+// Control Panel host
+$rcmail_config['password_vesta_host'] = 'localhost';
+$rcmail_config['password_vesta_port'] = '8083';