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