1

Topic: Password complexity

==== Required information ====
- iRedMail version: iredmail-0.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version: centos5.6
- Related log if you're reporting an issue:
====

how can i remove the password complexity on iredmail-0.8.1. when i try to change my password that time its not taking any easy password like , 12345, abcd, its only taking complex password, like: Mamun!@#

2

Re: Password complexity

Do you mean changing password with Roundcube webmail? If so, you can disable this in its password plugin config file: roundcubemail/plugins/password/config.inc.php.

3

Re: Password complexity

This is the path, /var/www/roundcubemail/plugins/password/config.inc.php , but what should i disable form here, plz tell me detail, i m new with iredmail.

4

Re: Password complexity

Please just take a look at this file, at least open it and read several lines.

5 (edited by christopher.lohman 2012-12-29 00:08:20)

Re: Password complexity

ZhangHuangbin wrote:

Please just take a look at this file, at least open it and read several lines.

As ZhangHuangbin suggests, a quick read of the file makes it seems fairly obvious:

// Require the new password to be a certain length.
// set to blank to allow passwords of any length
$rcmail_config['password_minimum_length'] = 8;

// Require the new password to contain a letter and punctuation character
// Change to false to remove this check.
$rcmail_config['password_require_nonalpha'] = true;

I suspect this would remove complexity:
$rcmail_config['password_require_nonalpha'] = false;

I suspect this would allow any password length:
$rcmail_config['password_minimum_length'] = ;

6

Re: Password complexity

This is my current configuration,  so there is already false. but it not working...


$rcmail_config['password_driver'] = "sql";

// Determine whether current password is required to change password.
// Default: false.
$rcmail_config['password_confirm_current'] = true;

// Require the new password to be a certain length.
// set to blank to allow passwords of any length
$rcmail_config['password_minimum_length'] = 4;

// 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'] = true;

7

Re: Password complexity

Sorry, what do you mean "not working"? Did you try to restart Apache web server and try again?

8

Re: Password complexity

Thank you sir, its working fine...:) thank u very much..:)