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