annotate etc/config.inc.php @ 38:ac106d4c8961 default tip

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