source: interfaz/roundcube/config/config.inc.php @ 8eff706

Last change on this file since 8eff706 was 8eff706, checked in by Laura Colina <lcolina@…>, 8 years ago

Activado plugins password, para el cambio de contrasena

  • Property mode set to 100644
File size: 15.2 KB
Line 
1<?php
2
3/* Local configuration for Roundcube Webmail */
4
5// ----------------------------------
6// SQL DATABASE
7// ----------------------------------
8// Database connection string (DSN) for read+write operations
9// Format (compatible with PEAR MDB2): db_provider://user:password@host/database
10// Currently supported db_providers: mysql, pgsql, sqlite, mssql or sqlsrv
11// For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php
12// NOTE: for SQLite use absolute path: 'sqlite:////full/path/to/sqlite.db?mode=0646'
13$config['db_dsnw'] = 'pgsql://roundcube:roundcube@192.168.12.135/roundcubemail';
14
15// ----------------------------------
16// IMAP
17// ----------------------------------
18// The mail host chosen to perform the log-in.
19// Leave blank to show a textbox at login, give a list of hosts
20// to display a pulldown menu or set one host as string.
21// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
22// Supported replacement variables:
23// %n - hostname ($_SERVER['SERVER_NAME'])
24// %t - hostname without the first part
25// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
26// %s - domain name after the '@' from e-mail address provided at login screen
27// For example %n = mail.domain.tld, %t = domain.tld
28// WARNING: After hostname change update of mail_host column in users table is
29//          required to match old user data records with the new host.
30$config['default_host'] = 'correo-mail.cenditel';
31
32// ----------------------------------
33// SMTP
34// ----------------------------------
35// SMTP server host (for sending mails).
36// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
37// If left blank, the PHP mail() function is used
38// Supported replacement variables:
39// %h - user's IMAP hostname
40// %n - hostname ($_SERVER['SERVER_NAME'])
41// %t - hostname without the first part
42// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
43// %z - IMAP domain (IMAP hostname without the first part)
44// For example %n = mail.domain.tld, %t = domain.tld
45$config['smtp_server'] = 'correo-mail.cenditel';
46
47// provide an URL where a user can get support for this Roundcube installation
48// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
49$config['support_url'] = '';
50$config['support_url'] = "http://correosur.cenditel.gob.ve/presenta.php";
51
52// this key is used to encrypt the users imap password which is stored
53// in the session record (and the client cookie if remember password is enabled).
54// please provide a string of exactly 24 chars.
55$config['des_key'] = '7f03c3ae53b717d8dda14027';
56
57// Name your service. This is displayed on the login screen and in the window title
58$config['product_name'] = 'Correo Sur';
59
60// ----------------------------------
61// PLUGINS
62// ----------------------------------
63// List of active plugins (in plugins/ directory)
64//$config['plugins'] = array('rcs_skins','chbox','dropbox_attachments','jqueryui');
65//$config['plugins'] = array('melanie2_larry','rcs_skins','chbox','jqueryui','audio_attachments','firma_adjuntos');
66$config['plugins'] = array('melanie2_larry','rcs_skins','chbox','jqueryui','firma_adjuntos','new_user_identity','new_user_dialog','password','login_info');
67
68// Set the spell checking engine. Possible values:
69// - 'googie'  - the default (also used for connecting to Nox Spell Server, see 'spellcheck_uri' setting)
70// - 'pspell'  - requires the PHP Pspell module and aspell installed
71// - 'enchant' - requires the PHP Enchant module
72// - 'atd'     - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API
73// Since Google shut down their public spell checking service, the default settings
74// connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
75// You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
76$config['spellcheck_engine'] = 'pspell';
77
78$config['custom_login_info_before'] = '<img style="display:block;margin-left:auto;margin-right:auto;" src="plugins/login_info/media/plugin_login_info.png" />';
79$config['custom_login_info_after'] = false;
80
81// used as bottom line below message
82// set to false if not used
83//$rcmail_config['custom_login_bottomline'] = '<a style="color:grey;" href="http://www.your-dmain.world">This service is managed by YOU</a>';
84$config['custom_login_bottomline'] = false;
85
86
87//$config['skin'] = 'litecube-f';
88$config['skin'] = 'melanie2_larry';
89$config['skin_logo'] = '';
90
91$config['list_cols'] = array('subject', 'status', 'fromto', 'date', 'size', 'flag', 'attachment','chbox');
92
93//Set dropbox dropins options here. See https://www.dropbox.com/developers/dropins/chooser/js
94$config['dropbox_appKey']= '0q90uhk7yg431xt';
95$config['dropbox_extensions']= [];
96$config['dropbox_multiselect'] = true;
97
98
99
100// ----------------------------------
101// LOGGING/DEBUGGING
102// ----------------------------------
103
104// default log driver:  'syslog' or 'file'.
105$config['log_driver'] = 'syslog';
106
107// global logging level
108// 100 - debug
109// 200 - info
110// 300 - warning
111// 400 - error
112// 500 - critical
113$config['log_level'] = 100;
114
115// date format for log entries
116// (read http://php.net/manual/en/function.date.php for all format characters) 
117$config['log_date_format'] = 'd-M-Y H:i:s O';
118
119// default syslog ident string to use, if using the 'syslog' log driver.
120$config['syslog_id'] = 'roundcube';
121
122// default syslog facility to use, if using the 'syslog' log driver.
123// For possible values see installer or http://php.net/manual/en/function.openlog.php
124$config['syslog_facility'] = LOG_USER;
125
126// built-in logrotate rules
127$config['log_rotate'] = 'daily';
128
129// Activate this option if logs should be written to per-user directories.
130// Data will only be logged if a directory <log_dir>/<username>/ exists and is writable.
131$config['per_user_logging'] = false;
132
133// Log successful/failed logins to <log_dir>/userlogins or to syslog
134$config['log_logins'] = 300;  // shortcut for $config['log_logins'] = array('level' => 300);
135
136// Log session authentication errors to <log_dir>/session or to syslog
137$config['log_session'] = false;
138
139// Log sent messages to <log_dir>/sendmail or to syslog
140$config['log_smtp'] = array(
141    'level'    => 200,    // info
142    'driver'   => 'file',
143    'filename' => 'smtp.log',
144);
145
146// Log raw IMAP conversation and high level messages
147$config['log_imap'] = array(
148    'level'    => 100,    // debug
149    'driver'   => 'file',
150    'per_user' => true,
151);
152
153// Log LDAP conversation
154$config['ldap_log'] = array(
155//    'level'    => 400,     // defaults to $config['log_level']
156//    'driver'   => 'file',  // defaults to $config['log_driver']
157//    'per_user' => false,   // defaults to $config['per_user_logging']
158//    'filename' => 'ldap',  // defaults to <log_dir>/ldap
159);
160
161// Log statistics about request time, memory usage, etc.
162$config['stats_log'] = array(
163    'level'  => 200,
164    'driver' => 'elasticsearch',
165    'type'   => 'record',
166    'index'  => 'roundcube_stats',
167);
168
169// Development console logging
170$config['console_log'] = array(
171    'level' => 100,
172    'driver' => 'firephp',
173);
174
175// Log sent messages to <log_dir>/sendmail or to syslog
176// DEPRECATED: translates into $config['log_smtp'] = 200
177$config['smtp_log'] = false;
178
179// Log SQL queries to <log_dir>/sql or to syslog
180// DEPRECATED: translates into $config['log_sql'] = 100;
181$config['sql_debug'] = false;
182
183// Log IMAP conversation to <log_dir>/imap or to syslog
184// DEPRECATED: translates into $config['log_imap'] = 100;
185$config['imap_debug'] = false;
186
187// Log LDAP conversation to <log_dir>/ldap or to syslog
188// DEPRECATED: translates into $config['log_ldap'] = 100;
189$config['ldap_debug'] = false;
190
191// Log SMTP conversation to <log_dir>/smtp or to syslog
192// DEPRECATED: translates into $config['smtp_log'] = 100;
193$config['smtp_debug'] = false;
194
195// DEPRECATED: system error reporting, sum of: 1 = log; 4 = show
196$config['debug_level'] = 1;
197
198// DEPRECATED: translates into $config['console_log'] = 100
199$config['devel_mode'] = true;
200
201
202$config['newuser_welcome_user'] = TRUE; // true or false
203
204// message footer
205$config['newuser_message_footer'] = 'Thank You';
206
207// Password Plugin options
208// -----------------------
209// A driver to use for password change. Default: "sql".
210// See README file for list of supported driver names.
211$config['password_driver'] = 'ldap';
212
213// Determine whether current password is required to change password.
214// Default: false.
215$config['password_confirm_current'] = true;
216
217// Require the new password to be a certain length.
218// set to blank to allow passwords of any length
219$config['password_minimum_length'] = 0;
220
221// Require the new password to contain a letter and punctuation character
222// Change to false to remove this check.
223$config['password_require_nonalpha'] = false;
224
225// Enables logging of password changes into logs/password
226$config['password_log'] = true;
227
228// Comma-separated list of login exceptions for which password change
229// will be not available (no Password tab in Settings)
230$config['password_login_exceptions'] = null;
231
232// Array of hosts that support password changing. Default is NULL.
233// Listed hosts will feature a Password option in Settings; others will not.
234// Example:
235//$config['password_hosts'] = array('mail.example.com', 'mail2.example.org');
236$config['password_hosts'] =  false;
237
238// Enables saving the new password even if it matches the old password. Useful
239// for upgrading the stored passwords after the encryption scheme has changed.
240$config['password_force_save'] = false;
241
242// Enables forcing new users to change their password at their first login.
243$config['password_force_new_user'] = false;
244
245
246// LDAP and LDAP_SIMPLE Driver options
247// -----------------------------------
248// LDAP server name to connect to.
249// You can provide one or several hosts in an array in which case the hosts are tried from left to right.
250// Exemple: array('ldap1.exemple.com', 'ldap2.exemple.com');
251// Default: 'localhost'
252$config['password_ldap_host'] = '192.168.12.120';
253
254// LDAP server port to connect to
255// Default: '389'
256$config['password_ldap_port'] = '389';
257
258// TLS is started after connecting
259// Using TLS for password modification is recommanded.
260// Default: false
261$config['password_ldap_starttls'] = false;
262
263// LDAP version
264// Default: '3'
265$config['password_ldap_version'] = '3';
266
267// LDAP base name (root directory)
268// Exemple: 'dc=exemple,dc=com'
269$config['password_ldap_basedn'] = 'dc=correo,dc=cenditel';
270
271// LDAP connection method
272// There is two connection method for changing a user's LDAP password.
273// 'user': use user credential (recommanded, require password_confirm_current=true)
274// 'admin': use admin credential (this mode require password_ldap_adminDN and password_ldap_adminPW)
275// Default: 'user'
276$config['password_ldap_method'] = 'admin';
277
278// LDAP Admin DN
279// Used only in admin connection mode
280// Default: null
281//$config['password_ldap_adminDN'] = null;
282$config['password_ldap_adminDN'] = 'cn=admin,dc=correo,dc=cenditel';
283
284// LDAP Admin Password
285// Used only in admin connection mode
286// Default: null
287$config['password_ldap_adminPW'] = '1q2w3e4r';
288
289// LDAP user DN mask
290// The user's DN is mandatory and as we only have his login,
291// we need to re-create his DN using a mask
292// '%login' will be replaced by the current roundcube user's login
293// '%name' will be replaced by the current roundcube user's name part
294// '%domain' will be replaced by the current roundcube user's domain part
295// '%dc' will be replaced by domain name hierarchal string e.g. "dc=test,dc=domain,dc=com"
296// Exemple: 'uid=%login,ou=people,dc=exemple,dc=com'
297$config['password_ldap_userDN_mask'] = 'uid=%login,ou=users,dc=correo,dc=cenditel';
298
299// LDAP search DN
300// The DN roundcube should bind with to find out user's DN
301// based on his login. Note that you should comment out the default
302// password_ldap_userDN_mask setting for this to take effect.
303// Use this if you cannot specify a general template for user DN with
304// password_ldap_userDN_mask. You need to perform a search based on
305// users login to find his DN instead. A common reason might be that
306// your users are placed under different ou's like engineering or
307// sales which cannot be derived from their login only.
308$config['password_ldap_searchDN'] = 'cn=roundcube,ou=services,dc=correo,dc=cenditel';
309
310// LDAP search password
311// If password_ldap_searchDN is set, the password to use for
312// binding to search for user's DN. Note that you should comment out the default
313// password_ldap_userDN_mask setting for this to take effect.
314// Warning: Be sure to set approperiate permissions on this file so this password
315// is only accesible to roundcube and don't forget to restrict roundcube's access to
316// your directory as much as possible using ACLs. Should this password be compromised
317// you want to minimize the damage.
318$config['password_ldap_searchPW'] = 'secret';
319
320// LDAP search base
321// If password_ldap_searchDN is set, the base to search in using the filter below.
322// Note that you should comment out the default password_ldap_userDN_mask setting
323// for this to take effect.
324$config['password_ldap_search_base'] = 'ou=users,dc=correo,dc=cenditel';
325
326// LDAP search filter
327// If password_ldap_searchDN is set, the filter to use when
328// searching for user's DN. Note that you should comment out the default
329// password_ldap_userDN_mask setting for this to take effect.
330// '%login' will be replaced by the current roundcube user's login
331// '%name' will be replaced by the current roundcube user's name part
332// '%domain' will be replaced by the current roundcube user's domain part
333// '%dc' will be replaced by domain name hierarchal string e.g. "dc=test,dc=domain,dc=com"
334// Example: '(uid=%login)'
335// Example: '(&(objectClass=posixAccount)(uid=%login))'
336$config['password_ldap_search_filter'] = '(uid=%login)';
337
338// LDAP password hash type
339// Standard LDAP encryption type which must be one of: crypt,
340// ext_des, md5crypt, blowfish, md5, sha, smd5, ssha, ad, cram-md5 (dovecot style) or clear.
341// Please note that most encodage types require external libraries
342// to be included in your PHP installation, see function hashPassword in drivers/ldap.php for more info.
343// Multiple password Values can be generated by concatenating encodings with a +. E.g. 'cram-md5+crypt'
344// Default: 'crypt'.
345$config['password_ldap_encodage'] = 'crypt';
346
347// LDAP password attribute
348// Name of the ldap's attribute used for storing user password
349// Default: 'userPassword'
350$config['password_ldap_pwattr'] = 'userPassword';
351
352// LDAP password force replace
353// Force LDAP replace in cases where ACL allows only replace not read
354// See http://pear.php.net/package/Net_LDAP2/docs/latest/Net_LDAP2/Net_LDAP2_Entry.html#methodreplace
355// Default: true
356$config['password_ldap_force_replace'] = true;
357
358// LDAP Password Last Change Date
359// Some places use an attribute to store the date of the last password change
360// The date is meassured in "days since epoch" (an integer value)
361// Whenever the password is changed, the attribute will be updated if set (e.g. shadowLastChange)
362$config['password_ldap_lchattr'] = '';
363
364// LDAP Samba password attribute, e.g. sambaNTPassword
365// Name of the LDAP's Samba attribute used for storing user password
366$config['password_ldap_samba_pwattr'] = '';
367 
368// LDAP Samba Password Last Change Date attribute, e.g. sambaPwdLastSet
369// Some places use an attribute to store the date of the last password change
370// The date is meassured in "seconds since epoch" (an integer value)
371// Whenever the password is changed, the attribute will be updated if set
372$config['password_ldap_samba_lchattr'] = '';
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
Note: See TracBrowser for help on using the repository browser.