暫無描述
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.

usr_share_roundcube_plugins_managesieve_config.inc.php 2.8KB

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