|
@@ -0,0 +1,67 @@
|
|
1
|
+<?php
|
|
2
|
+
|
|
3
|
+// managesieve server port
|
|
4
|
+$rcmail_config['managesieve_port'] = 4190;
|
|
5
|
+
|
|
6
|
+// managesieve server address, default is localhost.
|
|
7
|
+// Replacement variables supported in host name:
|
|
8
|
+// %h - user's IMAP hostname
|
|
9
|
+// %n - http hostname ($_SERVER['SERVER_NAME'])
|
|
10
|
+// %d - domain (http hostname without the first part)
|
|
11
|
+// For example %n = mail.domain.tld, %d = domain.tld
|
|
12
|
+$rcmail_config['managesieve_host'] = 'localhost';
|
|
13
|
+
|
|
14
|
+// authentication method. Can be CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN, EXTERNAL
|
|
15
|
+// or none. Optional, defaults to best method supported by server.
|
|
16
|
+$rcmail_config['managesieve_auth_type'] = null;
|
|
17
|
+
|
|
18
|
+// Optional managesieve authentication identifier to be used as authorization proxy.
|
|
19
|
+// Authenticate as a different user but act on behalf of the logged in user.
|
|
20
|
+// Works with PLAIN and DIGEST-MD5 auth.
|
|
21
|
+$rcmail_config['managesieve_auth_cid'] = null;
|
|
22
|
+
|
|
23
|
+// Optional managesieve authentication password to be used for imap_auth_cid
|
|
24
|
+$rcmail_config['managesieve_auth_pw'] = null;
|
|
25
|
+
|
|
26
|
+// use or not TLS for managesieve server connection
|
|
27
|
+// it's because I've problems with TLS and dovecot's managesieve plugin
|
|
28
|
+// and it's not needed on localhost
|
|
29
|
+$rcmail_config['managesieve_usetls'] = false;
|
|
30
|
+
|
|
31
|
+// default contents of filters script (eg. default spam filter)
|
|
32
|
+$rcmail_config['managesieve_default'] = '/etc/dovecot/sieve/global';
|
|
33
|
+
|
|
34
|
+// The name of the script which will be used when there's no user script
|
|
35
|
+$rcmail_config['managesieve_script_name'] = 'managesieve';
|
|
36
|
+
|
|
37
|
+// Sieve RFC says that we should use UTF-8 endcoding for mailbox names,
|
|
38
|
+// but some implementations does not covert UTF-8 to modified UTF-7.
|
|
39
|
+// Defaults to UTF7-IMAP
|
|
40
|
+$rcmail_config['managesieve_mbox_encoding'] = 'UTF-8';
|
|
41
|
+
|
|
42
|
+// I need this because my dovecot (with listescape plugin) uses
|
|
43
|
+// ':' delimiter, but creates folders with dot delimiter
|
|
44
|
+$rcmail_config['managesieve_replace_delimiter'] = '';
|
|
45
|
+
|
|
46
|
+// disabled sieve extensions (body, copy, date, editheader, encoded-character,
|
|
47
|
+// envelope, environment, ereject, fileinto, ihave, imap4flags, index,
|
|
48
|
+// mailbox, mboxmetadata, regex, reject, relational, servermetadata,
|
|
49
|
+// spamtest, spamtestplus, subaddress, vacation, variables, virustest, etc.
|
|
50
|
+// Note: not all extensions are implemented
|
|
51
|
+$rcmail_config['managesieve_disabled_extensions'] = array();
|
|
52
|
+
|
|
53
|
+// Enables debugging of conversation with sieve server. Logs it into <log_dir>/sieve
|
|
54
|
+$rcmail_config['managesieve_debug'] = false;
|
|
55
|
+
|
|
56
|
+// Enables features described in http://wiki.kolab.org/KEP:14
|
|
57
|
+$rcmail_config['managesieve_kolab_master'] = false;
|
|
58
|
+
|
|
59
|
+// Script name extension used for scripts including. Dovecot uses '.sieve',
|
|
60
|
+// Cyrus uses '.siv'. Doesn't matter if you have managesieve_kolab_master disabled.
|
|
61
|
+$rcmail_config['managesieve_filename_extension'] = '.sieve';
|
|
62
|
+
|
|
63
|
+// List of reserved script names (without extension).
|
|
64
|
+// Scripts listed here will be not presented to the user.
|
|
65
|
+$rcmail_config['managesieve_filename_exceptions'] = array();
|
|
66
|
+
|
|
67
|
+?>
|