Skip to content

Commit 1ae3923

Browse files
committed
Remove last ?>
1 parent 845f0ad commit 1ae3923

File tree

4 files changed

+110
-6
lines changed

4 files changed

+110
-6
lines changed

install/common/roundcube/db.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@
6363

6464

6565
// end db config file
66-
?>
66+
?>

install/common/roundcube/main.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,4 @@
103103
$config['smtp_host'] = 'localhost:587';
104104

105105
// Log session authentication errors to <log_dir>/session or to syslog
106-
$config['log_session'] = true;
107-
?>
106+
$config['log_session'] = true;

install/common/roundcube/mimetypes.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,4 @@
5353
's7z' => 'application/x-7z-compressed',
5454
'vcf' => 'text/vcard',
5555
'ics' => 'text/calendar',
56-
);
57-
58-
?>
56+
);

install/deb/roundcube/main.inc.php

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
<?php
2+
/* Local configuration for Roundcube Webmail */
3+
4+
//rewrite below this line
5+
$config['db_dsnw'] = 'mysql://roundcube:%password%@localhost/roundcube';
6+
7+
// Log sent messages to <log_dir>/sendmail or to syslog
8+
$config['smtp_log'] = false;
9+
10+
// Log IMAP conversation to <log_dir>/imap or to syslog
11+
$config['imap_debug'] = true;
12+
13+
// Log SMTP conversation to <log_dir>/smtp.log or to syslog
14+
$config['smtp_debug'] = true;
15+
16+
// ----------------------------------
17+
// IMAP
18+
// ----------------------------------
19+
// The IMAP host chosen to perform the log-in.
20+
// Leave blank to show a textbox at login, give a list of hosts
21+
// to display a pulldown menu or set one host as string.
22+
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
23+
// prefix tls:// to use STARTTLS.
24+
// Supported replacement variables:
25+
// %n - hostname ($_SERVER['SERVER_NAME'])
26+
// %t - hostname without the first part
27+
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
28+
// %s - domain name after the '@' from e-mail address provided at login screen
29+
// For example %n = mail.domain.tld, %t = domain.tld
30+
// WARNING: After hostname change update of mail_host column in users table is
31+
// required to match old user data records with the new host.
32+
$config['imap_host'] = 'localhost:143';
33+
34+
// IMAP socket context options
35+
// See http://php.net/manual/en/context.ssl.php
36+
// The example below enables server certificate validation
37+
//$config['imap_conn_options'] = array(
38+
// 'ssl' => array(
39+
// 'verify_peer' => true,
40+
// 'verify_depth' => 3,
41+
// 'cafile' => '/etc/openssl/certs/ca.crt',
42+
// ),
43+
// );
44+
// Note: These can be also specified as an array of options indexed by hostname
45+
$config['imap_conn_options'] = array (
46+
'ssl' =>
47+
array (
48+
'verify_peer' => false,
49+
'verify_peer_name' => false,
50+
'verify_depth' => 3,
51+
'cafile' => '/etc/ssl/certs/ca-certificates.crt',
52+
),
53+
);
54+
55+
// SMTP socket context options
56+
// See http://php.net/manual/en/context.ssl.php
57+
// The example below enables server certificate validation, and
58+
// requires 'smtp_timeout' to be non zero.
59+
// $config['smtp_conn_options'] = array(
60+
// 'ssl' => array(
61+
// 'verify_peer' => true,
62+
// 'verify_depth' => 3,
63+
// 'cafile' => '/etc/openssl/certs/ca.crt',
64+
// ),
65+
// );
66+
// Note: These can be also specified as an array of options indexed by hostname
67+
$config['smtp_conn_options'] = array (
68+
'ssl' =>
69+
array (
70+
'verify_peer' => false,
71+
'verify_peer_name' => false,
72+
'verify_depth' => 3,
73+
'cafile' => '/etc/ssl/certs/ca-certificates.crt',
74+
),
75+
);
76+
77+
// provide an URL where a user can get support for this Roundcube installation
78+
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
79+
$config['support_url'] = '';
80+
81+
// use this folder to store log files
82+
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
83+
// This is used by the 'file' log driver.
84+
$config['log_dir'] = '/var/log/roundcube/';
85+
86+
// This key is used for encrypting purposes, like storing of imap password
87+
// in the session. For historical reasons it's called DES_key, but it's used
88+
// with any configured cipher_method (see below).
89+
// For the default cipher_method a required key length is 24 characters.
90+
$config['des_key'] = '%des_key%';
91+
92+
// Maximum number of recipients per message (including To, Cc, Bcc).
93+
// Default: 0 (no limit)
94+
$config['max_recipients'] = 100;
95+
96+
// List of active plugins (in plugins/ directory)
97+
$config['plugins'] = array('password', 'newmail_notifier', 'zipdownload', 'archive');
98+
99+
$config['default_user'] = '%u';
100+
101+
$config['default_pass'] = '%p';
102+
103+
$config['smtp_host'] = 'localhost:587';
104+
105+
// Log session authentication errors to <log_dir>/session or to syslog
106+
$config['log_session'] = true;
107+
?>

0 commit comments

Comments
 (0)