Skip to content

Commit 3e960b5

Browse files
committed
configs for roundcubemail password reset plugin
1 parent 2b520fa commit 3e960b5

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

install/0.9.7/rhel/roundcube-main.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,5 +289,8 @@ $rcmail_config['max_pagesize'] = 200;
289289
// mime magic database
290290
$rcmail_config['mime_magic'] = '/usr/share/misc/magic';
291291

292+
// password reset plugin
293+
$rcmail_config['plugins'] = array('password');
294+
292295
// end of config file
293296
?>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
3+
// Password Plugin options
4+
// -----------------------
5+
// A driver to use for password change. Default: "sql".
6+
// See README file for list of supported driver names.
7+
$rcmail_config['password_driver'] = 'vesta';
8+
9+
// Require the new password to be a certain length.
10+
// set to blank to allow passwords of any length
11+
$rcmail_config['password_minimum_length'] = 6;
12+
13+
// Require the new password to contain a letter and punctuation character
14+
// Change to false to remove this check.
15+
$rcmail_config['password_require_nonalpha'] = false;
16+
17+
// Enables logging of password changes into logs/password
18+
$rcmail_config['password_log'] = false;
19+
20+
// Comma-separated list of login exceptions for which password change
21+
// will be not available (no Password tab in Settings)
22+
$rcmail_config['password_login_exceptions'] = null;
23+
24+
25+
// By default domains in variables are using unicode.
26+
// Enable this option to use punycoded names
27+
$rcmail_config['password_idn_ascii'] = false;
28+
29+
// Vesta Driver options
30+
// -----------------------
31+
// Control Panel host
32+
$rcmail_config['password_vesta_host'] = 'localhost';
33+
$rcmail_config['password_vesta_port'] = '8083';

0 commit comments

Comments
 (0)