Configure Roundcube on community
[cacert-puppet.git] / sitemodules / profiles / templates / roundcube / config.inc.php.epp
1 <%- | Array[String] $plugins,
2 String $email_host,
3 Integer $smtp_port,
4 String $support_url,
5 String $des_key,
6 String $skin,
7 | -%>
8 <?php
9
10 // THIS FILE IS MANAGED BY PUPPET, MANUAL CHANGES WILL BE OVERWRITTEN BY THE
11 // NEXT PUPPET RUN
12
13 /*
14 +-----------------------------------------------------------------------+
15 | Local configuration for the Roundcube Webmail installation. |
16 | |
17 | This is a sample configuration file only containing the minimum |
18 | setup required for a functional installation. Copy more options |
19 | from defaults.inc.php to this file to override the defaults. |
20 | |
21 | This file is part of the Roundcube Webmail client |
22 | Copyright (C) 2005-2013, The Roundcube Dev Team |
23 | |
24 | Licensed under the GNU General Public License version 3 or |
25 | any later version with exceptions for skins & plugins. |
26 | See the README file for a full license statement. |
27 +-----------------------------------------------------------------------+
28 */
29
30 $config = array();
31
32 // The IMAP host chosen to perform the log-in.
33 // Leave blank to show a textbox at login, give a list of hosts
34 // to display a pulldown menu or set one host as string.
35 // To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
36 // Supported replacement variables:
37 // %n - hostname ($_SERVER['SERVER_NAME'])
38 // %t - hostname without the first part
39 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
40 // %s - domain name after the '@' from e-mail address provided at login screen
41 // For example %n = mail.domain.tld, %t = domain.tld
42 $config['default_host'] = 'tls://<%= $email_host %>';
43
44 // SMTP server host (for sending mails).
45 // Enter hostname with prefix tls:// to use STARTTLS, or use
46 // prefix ssl:// to use the deprecated SSL over SMTP (aka SMTPS)
47 // Supported replacement variables:
48 // %h - user's IMAP hostname
49 // %n - hostname ($_SERVER['SERVER_NAME'])
50 // %t - hostname without the first part
51 // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
52 // %z - IMAP domain (IMAP hostname without the first part)
53 // For example %n = mail.domain.tld, %t = domain.tld
54 $config['smtp_server'] = 'tls://<%= $email_host %>';
55
56 // SMTP port (default is 25; use 587 for STARTTLS or 465 for the
57 // deprecated SSL over SMTP (aka SMTPS))
58 $config['smtp_port'] = <%= $smtp_port %>;
59
60 // SMTP username (if required) if you use %u as the username Roundcube
61 // will use the current username for login
62 $config['smtp_user'] = '%u';
63
64 // SMTP password (if required) if you use %p as the password Roundcube
65 // will use the current user's password for login
66 $config['smtp_pass'] = '%p';
67
68 // provide an URL where a user can get support for this Roundcube installation
69 // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
70 $config['support_url'] = '<%= $support_url %>';
71
72 // Name your service. This is displayed on the login screen and in the window title
73 $config['product_name'] = 'CAcert Community Roundcube Webmail';
74
75 // this key is used to encrypt the users imap password which is stored
76 // in the session record (and the client cookie if remember password is enabled).
77 // please provide a string of exactly 24 chars.
78 // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS
79 $config['des_key'] = '<%= $des_key %>';
80
81
82 // List of active plugins (in plugins/ directory)
83 // Debian: install roundcube-plugins first to have any
84 $config['plugins'] = array(
85 <%- $plugins.each |$plugin| { %> '<%= $plugin %>',<% } %>
86 );
87
88 // skin name: folder from skins/
89 $config['skin'] = '<%= $skin %>';
90
91 // Disable spellchecking
92 // Debian: spellshecking needs additional packages to be installed, or calling external APIs
93 // see defaults.inc.php for additional informations
94 $config['enable_spellcheck'] = false;
95