Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

config.inc.php.dist 4.5KB

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