Mercurial > hg > rc1
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/etc/config.inc.php Sat Dec 29 05:39:53 2018 -0500 @@ -0,0 +1,136 @@ + +<?php + +/* ++-----------------------------------------------------------------------+ +| Local configuration for the Roundcube Webmail installation. | +| | +| This is a sample configuration file only containing the minimum | +| setup required for a functional installation. Copy more options | +| from defaults.inc.php to this file to override the defaults. | +| | +| This file is part of the Roundcube Webmail client | +| Copyright (C) 2005-2013, The Roundcube Dev Team | +| | +| Licensed under the GNU General Public License version 3 or | +| any later version with exceptions for skins & plugins. | +| See the README file for a full license statement. | ++-----------------------------------------------------------------------+ +*/ + +$config = array(); + +/* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */ +include_once("/etc/roundcube/debian-db-roundcube.php"); + +// The mail host chosen to perform the log-in. +// Leave blank to show a textbox at login, give a list of hosts +// to display a pulldown menu or set one host as string. +// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls:// +// Supported replacement variables: +// %n - hostname ($_SERVER['SERVER_NAME']) +// %t - hostname without the first part +// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) +// %s - domain name after the '@' from e-mail address provided at login screen +// For example %n = mail.domain.tld, %t = domain.tld +$config['default_host'] = 'ssl://localhost:993'; +$config['imap_conn_options'] = array( + 'ssl' => array( + 'verify_peer' => false, + 'verify_peer_name' => false, + // certificate is not self-signed if cafile provided + 'allow_self_signed' => false, + //'cafile' => '/etc/ssl/certs/Your_CA_certificate.pem', + // For Letsencrypt use the following two lines and remove the 'cafile' option above. + 'ssl_cert' => '/etc/letsencrypt/live/markup.co.uk/fullchain.pem', + 'ssl_key' => '/etc/letsencrypt/live/markup.co.uk/privkey.pem' + // probably optional parameters + //'ciphers' => 'TLSv1+HIGH:!aNull:@STRENGTH', + //'peer_name' => '???', + ), + ); +// SMTP server host (for sending mails). +// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls:// +// If left blank, the PHP mail() function is used +// Supported replacement variables: +// %h - user's IMAP hostname +// %n - hostname ($_SERVER['SERVER_NAME']) +// %t - hostname without the first part +// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) +// %z - IMAP domain (IMAP hostname without the first part) +// For example %n = mail.domain.tld, %t = domain.tld +$config['smtp_server'] = 'localhost'; +// For STARTTLS SMTP +$config['smtp_conn_options'] = array( + 'ssl' => array( + 'verify_peer' => false, + 'verify_peer_name' => false, + // certificate is not self-signed if cafile provided + 'allow_self_signed' => false, + //'cafile' => '/etc/ssl/certs/Your_CA_certificate.pem', + // For Letsencrypt use the following two lines and remove the 'cafile' option above. + 'ssl_cert' => '/etc/letsencrypt/live/markup.co.uk/fullchain.pem', + 'ssl_key' => '/etc/letsencrypt/live/markup.co.uk/privkey.pem' + // probably optional parameters + //'ciphers' => 'TLSv1+HIGH:!aNull:@STRENGTH', + //'peer_name' => 'mail.my_domain.org', + ), + ); + +// SMTP port (default is 25; use 587 for STARTTLS or 465 for the +// deprecated SSL over SMTP (aka SMTPS)) +$config['smtp_port'] = 25; + +// SMTP username (if required) if you use %u as the username Roundcube +// will use the current username for login +$config['smtp_user'] = ''; + +// SMTP password (if required) if you use %p as the password Roundcube +// will use the current user's password for login +$config['smtp_pass'] = ''; + +// provide an URL where a user can get support for this Roundcube installation +// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE! +$config['support_url'] = ''; + +// Name your service. This is displayed on the login screen and in the window title +$config['product_name'] = 'Roundcube Webmail'; + +// this key is used to encrypt the users imap password which is stored +// in the session record (and the client cookie if remember password is enabled). +// please provide a string of exactly 24 chars. +// YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS +$config['des_key'] = '2lUG]SCpnW7Y[hlfWAp3UF4P'; + +// List of active plugins (in plugins/ directory) +$config['plugins'] = array( + 'archive', + 'zipdownload', + 'managesieve', + 'thunderbird_labels', + 'contextmenu', + 'libcalendaring', + 'calendar', + 'password', + 'advanced_search', + 'rc_foldersort', +); + +// skin name: folder from skins/ +$config['skin'] = 'larry'; + +//HST additions below here + +// Session lifetime in minutes +$config['session_lifetime'] = 1000; + +// automatically create the above listed default folders on first login +$config['create_default_folders'] = true; + +// Place replies in the folder of the message being replied to +$config['reply_same_folder'] = true; + +// bug report https://support.plesk.com/hc/en-us/articles/115003642174-Roundcube-is-unable-to-send-attachments-in-emails-after-the-latest-update +$config['temp_dir'] = '/tmp/'; + +$config['enable_installer'] = true;