]> git.donarmstrong.com Git - roundcube.git/blob - plugins/managesieve/config.inc.php.dist
905cfef18c5da255cbd2997ce58ddac5aa625a85
[roundcube.git] / plugins / managesieve / config.inc.php.dist
1 <?php
2
3 // managesieve server port
4 $rcmail_config['managesieve_port'] = 2000;
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 // Sieve RFC says that we should use UTF-8 endcoding for mailbox names,
35 // but some implementations does not covert UTF-8 to modified UTF-7.
36 // Defaults to UTF7-IMAP
37 $rcmail_config['managesieve_mbox_encoding'] = 'UTF-8';
38
39 // I need this because my dovecot (with listescape plugin) uses
40 // ':' delimiter, but creates folders with dot delimiter
41 $rcmail_config['managesieve_replace_delimiter'] = '';
42
43 // disabled sieve extensions (body, copy, date, editheader, encoded-character,
44 // envelope, environment, ereject, fileinto, ihave, imap4flags, index,
45 // mailbox, mboxmetadata, regex, reject, relational, servermetadata,
46 // spamtest, spamtestplus, subaddress, vacation, variables, virustest, etc.
47 // Note: not all extensions are implemented
48 $rcmail_config['managesieve_disabled_extensions'] = array();
49
50 // Enables debugging of conversation with sieve server. Logs it into <log_dir>/sieve
51 $rcmail_config['managesieve_debug'] = false;
52
53 ?>