90-sieve.conf.erb 3.7 KB

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