Configure Roundcube on community
[cacert-puppet.git] / sitemodules / profiles / templates / roundcube / managesieve-config.inc.php.epp
1 <?php
2
3 // THIS FILE IS MANAGED BY PUPPET, MANUAL CHANGES WILL BE OVERWRITTEN BY THE
4 // NEXT PUPPET RUN
5
6 // managesieve server port. When empty the port will be determined automatically
7 // using getservbyname() function, with 4190 as a fallback.
8 $config['managesieve_port'] = null;
9
10 // managesieve server address, default is localhost.
11 // Replacement variables supported in host name:
12 // %h - user's IMAP hostname
13 // %n - http hostname ($_SERVER['SERVER_NAME'])
14 // %d - domain (http hostname without the first part)
15 // For example %n = mail.domain.tld, %d = domain.tld
16 $config['managesieve_host'] = '%h';
17
18 // authentication method. Can be CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN, EXTERNAL
19 // or none. Optional, defaults to best method supported by server.
20 $config['managesieve_auth_type'] = null;
21
22 // Optional managesieve authentication identifier to be used as authorization proxy.
23 // Authenticate as a different user but act on behalf of the logged in user.
24 // Works with PLAIN and DIGEST-MD5 auth.
25 $config['managesieve_auth_cid'] = null;
26
27 // Optional managesieve authentication password to be used for imap_auth_cid
28 $config['managesieve_auth_pw'] = null;
29
30 // use or not TLS for managesieve server connection
31 // Note: tls:// prefix in managesieve_host is also supported
32 $config['managesieve_usetls'] = true;
33
34 // Connection scket context options
35 // See http://php.net/manual/en/context.ssl.php
36 // The example below enables server certificate validation
37 //$config['managesieve_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['managesieve_conn_options'] = null;
46
47
48 // default contents of filters script (eg. default spam filter)
49 $config['managesieve_default'] = '/etc/dovecot/sieve/global';
50
51 // The name of the script which will be used when there's no user script
52 $config['managesieve_script_name'] = 'managesieve';
53
54 // Sieve RFC says that we should use UTF-8 endcoding for mailbox names,
55 // but some implementations does not covert UTF-8 to modified UTF-7.
56 // Defaults to UTF7-IMAP
57 $config['managesieve_mbox_encoding'] = 'UTF-8';
58
59 // I need this because my dovecot (with listescape plugin) uses
60 // ':' delimiter, but creates folders with dot delimiter
61 $config['managesieve_replace_delimiter'] = '';
62
63 // disabled sieve extensions (body, copy, date, editheader, encoded-character,
64 // envelope, environment, ereject, fileinto, ihave, imap4flags, index,
65 // mailbox, mboxmetadata, regex, reject, relational, servermetadata,
66 // spamtest, spamtestplus, subaddress, vacation, variables, virustest, etc.
67 // Note: not all extensions are implemented
68 $config['managesieve_disabled_extensions'] = array();
69
70 // Enables debugging of conversation with sieve server. Logs it into <log_dir>/sieve
71 $config['managesieve_debug'] = false;
72
73 // Enables features described in http://wiki.kolab.org/KEP:14
74 $config['managesieve_kolab_master'] = false;
75
76 // Script name extension used for scripts including. Dovecot uses '.sieve',
77 // Cyrus uses '.siv'. Doesn't matter if you have managesieve_kolab_master disabled.
78 $config['managesieve_filename_extension'] = '.sieve';
79
80 // List of domains limiting destination emails in redirect action
81 // If not empty, user will need to select domain from a list
82 $config['managesieve_domains'] = array();
83
84 // Enables separate management interface for vacation responses (out-of-office)
85 // 0 - no separate section (default),
86 // 1 - add Vacation section,
87 // 2 - add Vacation section, but hide Filters section
88 $config['managesieve_vacation'] = 0;
89
90 // Default vacation interval (in days).
91 // Note: If server supports vacation-seconds extension it is possible
92 // to define interval in seconds here (as a string), e.g. "3600s".
93 $config['managesieve_vacation_interval'] = 0;
94
95 // Some servers require vacation :addresses to be filled with all
96 // user addresses (aliases). This option enables automatic filling
97 // of these on initial vacation form creation.
98 $config['managesieve_vacation_addresses_init'] = false;
99
100 // Sometimes you want to always reply with mail email address
101 // This option enables automatic filling of :from field on initial vacation form creation.
102 $config['managesieve_vacation_from_init'] = false;
103
104 // Supported methods of notify extension. Default: 'mailto'
105 $config['managesieve_notify_methods'] = array('mailto');
106
107 // Enables scripts RAW editor feature
108 $config['managesieve_raw_editor'] = true;