90-sieve.conf.erb 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. ##
  2. ## Settings for the Sieve interpreter
  3. ##
  4. # Do not forget to enable the Sieve plugin in 15-lda.conf and 20-lmtp.conf
  5. # by adding it to the respective mail_plugins= settings.
  6. <% if @plugins.has_key?('sieve') and @plugins['sieve'].kind_of?(Hash) -%>
  7. <%= Dovecot::Conf.plugin('sieve', @plugins['sieve']) %>
  8. <% else -%>
  9. plugin {
  10. # The path to the user's main active script. If ManageSieve is used, this the
  11. # location of the symbolic link controlled by ManageSieve.
  12. #sieve = ~/.dovecot.sieve
  13. # The default Sieve script when the user has none. This is a path to a global
  14. # sieve script file, which gets executed ONLY if user's private Sieve script
  15. # doesn't exist. Be sure to pre-compile this script manually using the sievec
  16. # command line tool.
  17. # --> See sieve_before fore executing scripts before the user's personal
  18. # script.
  19. #sieve_global_path = /var/lib/dovecot/sieve/default.sieve
  20. # Directory for :personal include scripts for the include extension. This
  21. # is also where the ManageSieve service stores the user's scripts.
  22. #sieve_dir = ~/sieve
  23. # Directory for :global include scripts for the include extension.
  24. #sieve_global_dir =
  25. # Path to a script file or a directory containing script files that need to be
  26. # executed before the user's script. If the path points to a directory, all
  27. # the Sieve scripts contained therein (with the proper .sieve extension) are
  28. # executed. The order of execution is determined by the file names, using a
  29. # normal 8bit per-character comparison.
  30. #sieve_before =
  31. # Identical to sieve_before, only the specified scripts are executed after the
  32. # user's script (only when keep is still in effect!).
  33. #sieve_after =
  34. # Which Sieve language extensions are available to users. By default, all
  35. # supported extensions are available, except for deprecated extensions or
  36. # those that are still under development. Some system administrators may want
  37. # to disable certain Sieve extensions or enable those that are not available
  38. # by default. This setting can use '+' and '-' to specify differences relative
  39. # to the default. For example `sieve_extensions = +imapflags' will enable the
  40. # deprecated imapflags extension in addition to all extensions thatwere
  41. # already enabled by default.
  42. #sieve_extensions = +notify +imapflags
  43. # The Pigeonhole Sieve interpreter can have plugins of its own. Using this
  44. # setting, the used plugins can be specified. Check the Dovecot wiki
  45. # (wiki2.dovecot.org) or the pigeonhole website
  46. # (http://pigeonhole.dovecot.org) for available plugins.
  47. #sieve_plugins =
  48. # The separator that is expected between the :user and :detail
  49. # address parts introduced by the subaddress extension. This may
  50. # also be a sequence of characters (e.g. '--'). The current
  51. # implementation looks for the separator from the left of the
  52. # localpart and uses the first one encountered. The :user part is
  53. # left of the separator and the :detail part is right. This setting
  54. # is also used by Dovecot's LMTP service.
  55. #recipient_delimiter = +
  56. # The maximum size of a Sieve script. The compiler will refuse to
  57. # compile any script larger than this limit.
  58. #sieve_max_script_size = 1M
  59. # The maximum number of actions that can be performed during a single
  60. # script execution.
  61. #sieve_max_actions = 32
  62. # The maximum number of redirect actions that can be performed during
  63. # a single script execution.
  64. #sieve_max_redirects = 4
  65. # The maximum number of personal Sieve scripts a single user can have.
  66. # (Currently only relevant for ManageSieve)
  67. #sieve_quota_max_scripts = 0
  68. # The maximum amount of disk storage a single user's scripts may occupy.
  69. # (Currently only relevant for ManageSieve)
  70. #sieve_quota_max_storage = 0
  71. }
  72. <% end -%>