| | |
| | | // Password Plugin options |
| | | // ----------------------- |
| | | // A driver to use for password change. Default: "sql". |
| | | // Current possibilities: 'directadmin', 'ldap', 'poppassd', 'sasl', 'sql', 'vpopmaild' |
| | | // See README file for list of supported driver names. |
| | | $rcmail_config['password_driver'] = 'sql'; |
| | | |
| | | // Determine whether current password is required to change password. |
| | |
| | | // Require the new password to be a certain length. |
| | | // set to blank to allow passwords of any length |
| | | $rcmail_config['password_minimum_length'] = 0; |
| | | |
| | | |
| | | // Require the new password to contain a letter and punctuation character |
| | | // Change to false to remove this check. |
| | | $rcmail_config['password_require_nonalpha'] = false; |
| | |
| | | // %p is replaced with the plaintext new password |
| | | // %c is replaced with the crypt version of the new password, MD5 if available |
| | | // otherwise DES. |
| | | // %D is replaced with the dovecotpw-crypted version of the new password |
| | | // %o is replaced with the password before the change |
| | | // %n is replaced with the hashed version of the new password |
| | | // %q is replaced with the hashed password before the change |
| | |
| | | // Escaping of macros is handled by this module. |
| | | // Default: "SELECT update_passwd(%c, %u)" |
| | | $rcmail_config['password_query'] = 'SELECT update_passwd(%c, %u)'; |
| | | |
| | | // Path for dovecotpw (if not in $PATH) |
| | | // $rcmail_config['password_dovecotpw'] = '/usr/local/sbin/dovecotpw'; |
| | | |
| | | // Dovecot method (dovecotpw -s 'method') |
| | | $rcmail_config['password_dovecotpw_method'] = 'CRAM-MD5'; |
| | | |
| | | // Enables use of password with crypt method prefix in %D, e.g. {MD5}$1$LUiMYWqx$fEkg/ggr/L6Mb2X7be4i1/ |
| | | $rcmail_config['password_dovecotpw_with_method'] = false; |
| | | |
| | | // Using a password hash for %n and %q variables. |
| | | // Determine which hashing algorithm should be used to generate |
| | |
| | | $rcmail_config['password_saslpasswd_args'] = ''; |
| | | |
| | | |
| | | // LDAP Driver options |
| | | // ------------------- |
| | | // LDAP and LDAP_SIMPLE Driver options |
| | | // ----------------------------------- |
| | | // LDAP server name to connect to. |
| | | // You can provide one or several hosts in an array in which case the hosts are tried from left to right. |
| | | // Exemple: array('ldap1.exemple.com', 'ldap2.exemple.com'); |
| | |
| | | // '%login' will be replaced by the current roundcube user's login |
| | | // '%name' will be replaced by the current roundcube user's name part |
| | | // '%domain' will be replaced by the current roundcube user's domain part |
| | | // '%dc' will be replaced by domain name hierarchal string e.g. "dc=test,dc=domain,dc=com" |
| | | // Exemple: 'uid=%login,ou=people,dc=exemple,dc=com' |
| | | $rcmail_config['password_ldap_userDN_mask'] = 'uid=%login,ou=people,dc=exemple,dc=com'; |
| | | |
| | | // LDAP search DN |
| | | // The DN roundcube should bind with to find out user's DN |
| | | // based on his login. Note that you should comment out the default |
| | | // password_ldap_userDN_mask setting for this to take effect. |
| | | // Use this if you cannot specify a general template for user DN with |
| | | // password_ldap_userDN_mask. You need to perform a search based on |
| | | // users login to find his DN instead. A common reason might be that |
| | | // your users are placed under different ou's like engineering or |
| | | // sales which cannot be derived from their login only. |
| | | $rcmail_config['password_ldap_searchDN'] = 'cn=roundcube,ou=services,dc=example,dc=com'; |
| | | |
| | | // LDAP search password |
| | | // If password_ldap_searchDN is set, the password to use for |
| | | // binding to search for user's DN. Note that you should comment out the default |
| | | // password_ldap_userDN_mask setting for this to take effect. |
| | | // Warning: Be sure to set approperiate permissions on this file so this password |
| | | // is only accesible to roundcube and don't forget to restrict roundcube's access to |
| | | // your directory as much as possible using ACLs. Should this password be compromised |
| | | // you want to minimize the damage. |
| | | $rcmail_config['password_ldap_searchPW'] = 'secret'; |
| | | |
| | | // LDAP search base |
| | | // If password_ldap_searchDN is set, the base to search in using the filter below. |
| | | // Note that you should comment out the default password_ldap_userDN_mask setting |
| | | // for this to take effect. |
| | | $rcmail_config['password_ldap_search_base'] = 'ou=people,dc=example,dc=com'; |
| | | |
| | | // LDAP search filter |
| | | // If password_ldap_searchDN is set, the filter to use when |
| | | // searching for user's DN. Note that you should comment out the default |
| | | // password_ldap_userDN_mask setting for this to take effect. |
| | | // '%login' will be replaced by the current roundcube user's login |
| | | // '%name' will be replaced by the current roundcube user's name part |
| | | // '%domain' will be replaced by the current roundcube user's domain part |
| | | // '%dc' will be replaced by domain name hierarchal string e.g. "dc=test,dc=domain,dc=com" |
| | | // Example: '(uid=%login)' |
| | | // Example: '(&(objectClass=posixAccount)(uid=%login))' |
| | | $rcmail_config['password_ldap_search_filter'] = '(uid=%login)'; |
| | | |
| | | // LDAP password hash type |
| | | // Standard LDAP encryption type which must be one of: crypt, |
| | |
| | | // Default: true |
| | | $rcmail_config['password_ldap_force_replace'] = true; |
| | | |
| | | // LDAP Password Last Change Date |
| | | // Some places use an attribute to store the date of the last password change |
| | | // The date is meassured in "days since epoch" (an integer value) |
| | | // Whenever the password is changed, the attribute will be updated if set (e.g. shadowLastChange) |
| | | $rcmail_config['password_ldap_lchattr'] = ''; |
| | | |
| | | |
| | | // DirectAdmin Driver options |
| | | // -------------------------- |
| | |
| | | // TCP port used for vpopmaild connections |
| | | $rcmail_config['password_vpopmaild_port'] = 89; |
| | | |
| | | ?> |
| | | |
| | | // cPanel Driver options |
| | | // -------------------------- |
| | | // The cPanel Host name |
| | | $rcmail_config['password_cpanel_host'] = 'host.domain.com'; |
| | | |
| | | // The cPanel admin username |
| | | $rcmail_config['password_cpanel_username'] = 'username'; |
| | | |
| | | // The cPanel admin password |
| | | $rcmail_config['password_cpanel_password'] = 'password'; |
| | | |
| | | // The cPanel port to use |
| | | $rcmail_config['password_cpanel_port'] = 2082; |
| | | |
| | | // Using ssl for cPanel connections? |
| | | $rcmail_config['password_cpanel_ssl'] = true; |
| | | |
| | | // The cPanel theme in use |
| | | $rcmail_config['password_cpanel_theme'] = 'x'; |
| | | |
| | | |
| | | // XIMSS (Communigate server) Driver options |
| | | // ----------------------------------------- |
| | | // Host name of the Communigate server |
| | | $rcmail_config['password_ximss_host'] = 'mail.example.com'; |
| | | |
| | | // XIMSS port on Communigate server |
| | | $rcmail_config['password_ximss_port'] = 11024; |
| | | |
| | | |
| | | // chpasswd Driver options |
| | | // --------------------- |
| | | // Command to use |
| | | $rcmail_config['password_chpasswd_cmd'] = 'sudo /usr/sbin/chpasswd 2> /dev/null'; |
| | | |
| | | |
| | | // XMail Driver options |
| | | // --------------------- |
| | | $rcmail_config['xmail_host'] = 'localhost'; |
| | | $rcmail_config['xmail_user'] = 'YourXmailControlUser'; |
| | | $rcmail_config['xmail_pass'] = 'YourXmailControlPass'; |
| | | $rcmail_config['xmail_port'] = 6017; |
| | | |
| | | |
| | | // hMail Driver options |
| | | // ----------------------- |
| | | // Remote hMailServer configuration |
| | | // true: HMailserver is on a remote box (php.ini: com.allow_dcom = true) |
| | | // false: Hmailserver is on same box as PHP |
| | | $rcmail_config['hmailserver_remote_dcom'] = false; |
| | | // Windows credentials |
| | | $rcmail_config['hmailserver_server'] = array( |
| | | 'Server' => 'localhost', // hostname or ip address |
| | | 'Username' => 'administrator', // windows username |
| | | 'Password' => 'password' // windows user password |
| | | ); |
| | | |