| | |
| | | // Enable this option to force LSUB command usage instead. |
| | | $rcmail_config['imap_force_lsub'] = false; |
| | | |
| | | // Some server configurations (e.g. Courier) doesn't list folders in all namespaces |
| | | // Enable this option to force listing of folders in all namespaces |
| | | $rcmail_config['imap_force_ns'] = false; |
| | | |
| | | // IMAP connection timeout, in seconds. Default: 0 (no limit) |
| | | $rcmail_config['imap_timeout'] = 0; |
| | | |
| | |
| | | // the object classes (can include additional fields not required by the object classes). |
| | | 'required_fields' => array('cn', 'sn', 'mail'), |
| | | 'search_fields' => array('mail', 'cn'), // fields to search in |
| | | // Map of contact sub-objects (attribute name => objectClass(es)), e.g. 'c' => 'country' |
| | | 'sub_fields' => array(), |
| | | // mapping of contact fields to directory attributes |
| | | // for every attribute one can specify the number of values (limit) allowed. |
| | | // default is 1, a wildcard * means unlimited |
| | | 'fieldmap' => array( |
| | | // Roundcube => LDAP |
| | | // Roundcube => LDAP:limit |
| | | 'name' => 'cn', |
| | | 'surname' => 'sn', |
| | | 'firstname' => 'givenName', |
| | | 'title' => 'title', |
| | | 'email' => 'mail', |
| | | 'email' => 'mail:*', |
| | | 'phone:home' => 'homePhone', |
| | | 'phone:work' => 'telephoneNumber', |
| | | 'phone:workfax' => 'facsimileTelephoneNumber', |
| | | 'phone:mobile' => 'mobile', |
| | | 'phone:pager' => 'pager', |
| | | 'street' => 'street', |
| | | 'zipcode' => 'postalCode', |
| | | 'region' => 'st', |
| | | 'locality' => 'l', |
| | | // if you uncomment country, you need to modify 'sub_fields' above |
| | | // 'country' => 'c', |
| | | 'department' => 'departmentNumber', |
| | | 'notes' => 'description', |
| | | // these currently don't work: |
| | | // 'photo' => 'jpegPhoto', |
| | | // 'organization' => 'o', |
| | | // 'manager' => 'manager', |
| | | // 'assistant' => 'secretary', |
| | | // if you country is a complex object, you need to configure 'sub_fields' below |
| | | 'country' => 'c', |
| | | 'organization' => 'o', |
| | | 'department' => 'ou', |
| | | 'jobtitle' => 'title', |
| | | 'notes' => 'description', |
| | | // these currently don't work: |
| | | // 'phone:workfax' => 'facsimileTelephoneNumber', |
| | | // 'photo' => 'jpegPhoto', |
| | | // 'manager' => 'manager', |
| | | // 'assistant' => 'secretary', |
| | | ), |
| | | // Map of contact sub-objects (attribute name => objectClass(es)), e.g. 'c' => 'country' |
| | | 'sub_fields' => array(), |
| | | 'sort' => 'cn', // The field to sort the listing by. |
| | | 'scope' => 'sub', // search mode: sub|base|list |
| | | 'filter' => '(objectClass=inetOrgPerson)', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act |
| | |
| | | $rcmail_config['check_all_folders'] = false; |
| | | |
| | | // If true, after message delete/move, the next message will be displayed |
| | | $rcmail_config['display_next'] = false; |
| | | $rcmail_config['display_next'] = true; |
| | | |
| | | // 0 - Do not expand threads |
| | | // 1 - Expand all threads automatically |