Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_roundcube_plugins_managesieve_config.inc.php 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. $config['managesieve_conn_options'] = null;
  35. // default contents of filters script (eg. default spam filter)
  36. $config['managesieve_default'] = '/etc/roundcube/global.sieve';
  37. // The name of the script which will be used when there's no user script
  38. $config['managesieve_script_name'] = 'managesieve';
  39. // Sieve RFC says that we should use UTF-8 endcoding for mailbox names,
  40. // but some implementations does not covert UTF-8 to modified UTF-7.
  41. // Defaults to UTF7-IMAP
  42. $config['managesieve_mbox_encoding'] = 'UTF-8';
  43. // I need this because my dovecot (with listescape plugin) uses
  44. // ':' delimiter, but creates folders with dot delimiter
  45. $config['managesieve_replace_delimiter'] = '';
  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. $config['managesieve_disabled_extensions'] = array();
  52. // Enables debugging of conversation with sieve server. Logs it into <log_dir>/sieve
  53. $config['managesieve_debug'] = false;
  54. // Enables features described in http://wiki.kolab.org/KEP:14
  55. $config['managesieve_kolab_master'] = false;
  56. // Script name extension used for scripts including. Dovecot uses '.sieve',
  57. // Cyrus uses '.siv'. Doesn't matter if you have managesieve_kolab_master disabled.
  58. $config['managesieve_filename_extension'] = '.sieve';
  59. // List of reserved script names (without extension).
  60. // Scripts listed here will be not presented to the user.
  61. $config['managesieve_filename_exceptions'] = array();
  62. // List of domains limiting destination emails in redirect action
  63. // If not empty, user will need to select domain from a list
  64. $config['managesieve_domains'] = array();
  65. // Enables separate management interface for vacation responses (out-of-office)
  66. // 0 - no separate section (default),
  67. // 1 - add Vacation section,
  68. // 2 - add Vacation section, but hide Filters section
  69. $config['managesieve_vacation'] = 0;
  70. // Default vacation interval (in days).
  71. // Note: If server supports vacation-seconds extension it is possible
  72. // to define interval in seconds here (as a string), e.g. "3600s".
  73. $config['managesieve_vacation_interval'] = 0;
  74. // Some servers require vacation :addresses to be filled with all
  75. // user addresses (aliases). This option enables automatic filling
  76. // of these on initial vacation form creation.
  77. $config['managesieve_vacation_addresses_init'] = false;
  78. // Supported methods of notify extension. Default: 'mailto'
  79. $config['managesieve_notify_methods'] = array('mailto');