From 58e3602a37cccab55f71fbf839b32fbc4322699c Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 04 Feb 2006 14:08:10 -0500
Subject: [PATCH] Bugfixes for encoding and sending with attachments

---
 config/main.inc.php.dist |   30 ++++++++++++++++--------------
 1 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index e7ccc91..e1cb3ef 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -85,7 +85,7 @@
 // check client IP in session athorization
 $rcmail_config['ip_check'] = TRUE;
 
-// not sure what this was good for :-) 
+// the default locale setting
 $rcmail_config['locale_string'] = 'en';
 
 // use this format for short date display
@@ -131,19 +131,21 @@
 // this string is used as a delimiter for message headers when sending
 $rcmail_config['mail_header_delimiter'] = "\r\n";
 
-// public ldap servers to search for contacts
-$rcmail_config['ldap_public'] = false;
-
-/** example config for Verisign directory
-$rcmail_config['ldap_public']['Verisign'] = array('hosts'         => array('directory.verisign.com'),
-                                                  'port'          => 389,
-                                                  'base_dn'       => '',
-                                                  'search_fields' => array('mail', 'cn'),
-                                                  'name_field'    => 'cn',
-                                                  'mail_field'    => 'mail',
-                                                  'scope'         => 'sub',
-                                                  'fuzzy_search'  => 0);
-**/
+// in order to enable public ldap search, create a config array
+// like the Verisign example below. if you would like to test, 
+// simply uncomment the Verisign example.
+/** 
+ *  example config for Verisign directory
+ *
+ *  $rcmail_config['ldap_public']['Verisign'] = array('hosts'         => array('directory.verisign.com'),
+ *                                                    'port'          => 389,
+ *                                                    'base_dn'       => '',
+ *                                                    'search_fields' => array('Email' => 'mail', 'Name' => 'cn'),
+ *                                                    'name_field'    => 'cn',
+ *                                                    'mail_field'    => 'mail',
+ *                                                    'scope'         => 'sub',
+ *                                                    'fuzzy_search'  => 0);
+ */
 
 
 /***** these settings can be overwritten by user's preferences *****/

--
Gitblit v1.9.1