From a0530a6ec0cb464ec6eaa63fd211c2ffbe6db9ad Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sun, 08 Jun 2008 14:17:09 -0400 Subject: [PATCH] - option to disable autocompletion from selected LDAP address books (#1484922 --- config/main.inc.php.dist | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index d7ac4d9..0be6d47 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -40,6 +40,10 @@ // TCP port used for IMAP connections $rcmail_config['default_port'] = 143; +// IMAP auth type. Can be "auth" (CRAM-MD5), "plain" (PLAIN) or "check" to auto detect. +// Optional, defaults to "check" +$rcmail_config['imap_auth_type'] = null; + // Automatically add this domain to user names for login // Only for IMAP servers that require full e-mail addresses for login // Specify an array with 'host' => 'domain' values to support multiple hosts @@ -213,11 +217,12 @@ // session domain: .example.org $rcmail_config['session_domain'] = ''; -// This indicates whether or not to use the SQL address book. -// If set to false then it will look at using the first writable LDAP +// This indicates which type of address book to use. Possible choises: +// 'sql' (default) and 'ldap'. +// If set to 'ldap' then it will look at using the first writable LDAP // address book as the primary address book and it will not display the // SQL address book in the 'Address Book' view. -$rcmail_config['use_SQL_address_book'] = true; +$rcmail_config['address_book_type'] = 'sql'; // In order to enable public ldap search, configure an array like the Verisign // example further below. if you would like to test, simply uncomment the example. @@ -242,6 +247,7 @@ * 'name' => 'Verisign.com', * 'hosts' => array('directory.verisign.com'), * 'port' => 389, + * 'use_tls' => false, * 'user_specific' => false, // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login. * // %fu - The full username provided, assumes the username is an email * // address, uses the username_domain value if not an email address. @@ -265,6 +271,7 @@ * 'sort' => 'cn', // The field to sort the listing by. * 'scope' => 'sub', // search mode: sub|base|list * 'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act + * 'global_search' => true, // perform a global search for address auto-completion on compose * 'fuzzy_search' => true); // server allows wildcard search */ @@ -272,6 +279,7 @@ $rcmail_config['dont_override'] = array(); // try to load host-specific configuration +// see http://trac.roundcube.net/wiki/Howto_Config for more details $rcmail_config['include_host_config'] = false; // don't let users set pagesize to more than this value if set @@ -322,5 +330,20 @@ // Compact INBOX on logout $rcmail_config['logout_expunge'] = FALSE; +/** + * 'Delete always' + * This setting reflects if mail should be always marked as deleted, + * even if moving to "Trash" fails. This is necessary in some setups + * because a) people may not have a Trash folder or b) they are over + * quota (and Trash is included in the quota). + * + * This is a failover setting for iil_C_Move when a message is moved + * to the Trash, and not the same as "delete_right_away". + */ +$rcmail_config['delete_always'] = false; + +// Log successful logins +$rcmail_config['log_logins'] = false; + // end of config file ?> -- Gitblit v1.9.1