38
|
1
|
|
2 <?php
|
|
3
|
|
4 /*
|
|
5 +-----------------------------------------------------------------------+
|
|
6 | Local configuration for the Roundcube Webmail installation. |
|
|
7 | |
|
|
8 | This is a sample configuration file only containing the minimum |
|
|
9 | setup required for a functional installation. Copy more options |
|
|
10 | from defaults.inc.php to this file to override the defaults. |
|
|
11 | |
|
|
12 | This file is part of the Roundcube Webmail client |
|
|
13 | Copyright (C) 2005-2013, The Roundcube Dev Team |
|
|
14 | |
|
|
15 | Licensed under the GNU General Public License version 3 or |
|
|
16 | any later version with exceptions for skins & plugins. |
|
|
17 | See the README file for a full license statement. |
|
|
18 +-----------------------------------------------------------------------+
|
|
19 */
|
|
20
|
|
21 $config = array();
|
|
22
|
|
23 /* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */
|
|
24 include_once("/etc/roundcube/debian-db-roundcube.php");
|
|
25
|
|
26 // The mail host chosen to perform the log-in.
|
|
27 // Leave blank to show a textbox at login, give a list of hosts
|
|
28 // to display a pulldown menu or set one host as string.
|
|
29 // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
|
|
30 // Supported replacement variables:
|
|
31 // %n - hostname ($_SERVER['SERVER_NAME'])
|
|
32 // %t - hostname without the first part
|
|
33 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
|
|
34 // %s - domain name after the '@' from e-mail address provided at login screen
|
|
35 // For example %n = mail.domain.tld, %t = domain.tld
|
|
36 $config['default_host'] = 'ssl://localhost:993';
|
|
37 $config['imap_conn_options'] = array(
|
|
38 'ssl' => array(
|
|
39 'verify_peer' => false,
|
|
40 'verify_peer_name' => false,
|
|
41 // certificate is not self-signed if cafile provided
|
|
42 'allow_self_signed' => false,
|
|
43 //'cafile' => '/etc/ssl/certs/Your_CA_certificate.pem',
|
|
44 // For Letsencrypt use the following two lines and remove the 'cafile' option above.
|
|
45 'ssl_cert' => '/etc/letsencrypt/live/markup.co.uk/fullchain.pem',
|
|
46 'ssl_key' => '/etc/letsencrypt/live/markup.co.uk/privkey.pem'
|
|
47 // probably optional parameters
|
|
48 //'ciphers' => 'TLSv1+HIGH:!aNull:@STRENGTH',
|
|
49 //'peer_name' => '???',
|
|
50 ),
|
|
51 );
|
|
52 // SMTP server host (for sending mails).
|
|
53 // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
|
|
54 // If left blank, the PHP mail() function is used
|
|
55 // Supported replacement variables:
|
|
56 // %h - user's IMAP hostname
|
|
57 // %n - hostname ($_SERVER['SERVER_NAME'])
|
|
58 // %t - hostname without the first part
|
|
59 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
|
|
60 // %z - IMAP domain (IMAP hostname without the first part)
|
|
61 // For example %n = mail.domain.tld, %t = domain.tld
|
|
62 $config['smtp_server'] = 'localhost';
|
|
63 // For STARTTLS SMTP
|
|
64 $config['smtp_conn_options'] = array(
|
|
65 'ssl' => array(
|
|
66 'verify_peer' => false,
|
|
67 'verify_peer_name' => false,
|
|
68 // certificate is not self-signed if cafile provided
|
|
69 'allow_self_signed' => false,
|
|
70 //'cafile' => '/etc/ssl/certs/Your_CA_certificate.pem',
|
|
71 // For Letsencrypt use the following two lines and remove the 'cafile' option above.
|
|
72 'ssl_cert' => '/etc/letsencrypt/live/markup.co.uk/fullchain.pem',
|
|
73 'ssl_key' => '/etc/letsencrypt/live/markup.co.uk/privkey.pem'
|
|
74 // probably optional parameters
|
|
75 //'ciphers' => 'TLSv1+HIGH:!aNull:@STRENGTH',
|
|
76 //'peer_name' => 'mail.my_domain.org',
|
|
77 ),
|
|
78 );
|
|
79
|
|
80 // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
|
|
81 // deprecated SSL over SMTP (aka SMTPS))
|
|
82 $config['smtp_port'] = 25;
|
|
83
|
|
84 // SMTP username (if required) if you use %u as the username Roundcube
|
|
85 // will use the current username for login
|
|
86 $config['smtp_user'] = '';
|
|
87
|
|
88 // SMTP password (if required) if you use %p as the password Roundcube
|
|
89 // will use the current user's password for login
|
|
90 $config['smtp_pass'] = '';
|
|
91
|
|
92 // provide an URL where a user can get support for this Roundcube installation
|
|
93 // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
|
|
94 $config['support_url'] = '';
|
|
95
|
|
96 // Name your service. This is displayed on the login screen and in the window title
|
|
97 $config['product_name'] = 'Roundcube Webmail';
|
|
98
|
|
99 // this key is used to encrypt the users imap password which is stored
|
|
100 // in the session record (and the client cookie if remember password is enabled).
|
|
101 // please provide a string of exactly 24 chars.
|
|
102 // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
|
|
103 $config['des_key'] = '2lUG]SCpnW7Y[hlfWAp3UF4P';
|
|
104
|
|
105 // List of active plugins (in plugins/ directory)
|
|
106 $config['plugins'] = array(
|
|
107 'archive',
|
|
108 'zipdownload',
|
|
109 'managesieve',
|
|
110 'thunderbird_labels',
|
|
111 'contextmenu',
|
|
112 'libcalendaring',
|
|
113 'calendar',
|
|
114 'password',
|
|
115 'advanced_search',
|
|
116 'rc_foldersort',
|
|
117 );
|
|
118
|
|
119 // skin name: folder from skins/
|
|
120 $config['skin'] = 'larry';
|
|
121
|
|
122 //HST additions below here
|
|
123
|
|
124 // Session lifetime in minutes
|
|
125 $config['session_lifetime'] = 1000;
|
|
126
|
|
127 // automatically create the above listed default folders on first login
|
|
128 $config['create_default_folders'] = true;
|
|
129
|
|
130 // Place replies in the folder of the message being replied to
|
|
131 $config['reply_same_folder'] = true;
|
|
132
|
|
133 // bug report https://support.plesk.com/hc/en-us/articles/115003642174-Roundcube-is-unable-to-send-attachments-in-emails-after-the-latest-update
|
|
134 $config['temp_dir'] = '/tmp/';
|
|
135
|
|
136 $config['enable_installer'] = true;
|