20-managesieve.conf.erb 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # Generated by Chef
  2. ##
  3. ## ManageSieve specific settings
  4. ##
  5. # Service definitions
  6. <% if @services['managesieve-login'].kind_of?(Hash) and @services['managesieve-login'].length > 0 -%>
  7. <%= Dovecot::Conf.service('managesieve-login', @services['managesieve-login']) %>
  8. <% else -%>
  9. service managesieve-login {
  10. #inet_listener sieve {
  11. # port = 4190
  12. #}
  13. #inet_listener sieve_deprecated {
  14. # port = 2000
  15. #}
  16. # Number of connections to handle before starting a new process. Typically
  17. # the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
  18. # is faster. <doc/wiki/LoginProcess.txt>
  19. #service_count = 1
  20. # Number of processes to always keep waiting for more connections.
  21. #process_min_avail = 0
  22. # If you set service_count=0, you probably need to grow this.
  23. #vsz_limit = 64M
  24. }
  25. <% end -%>
  26. <% if @services['managesieve'].kind_of?(Hash) and @services['managesieve'].length > 0 -%>
  27. <%= Dovecot::Conf.service('managesieve', @services['managesieve']) %>
  28. <% else -%>
  29. service managesieve {
  30. # Max. number of ManageSieve processes (connections)
  31. #process_count = 1024
  32. }
  33. <% end -%>
  34. # Service configuration
  35. <% if @protocols['sieve'].kind_of?(Hash) and @protocols['sieve'].length > 0 -%>
  36. <%= Dovecot::Conf.protocol('sieve', @protocols['sieve']) %>
  37. <% else -%>
  38. protocol sieve {
  39. # Maximum ManageSieve command line length in bytes. ManageSieve usually does
  40. # not involve overly long command lines, so this setting will not normally
  41. # need adjustment
  42. #managesieve_max_line_length = 65536
  43. # Maximum number of ManageSieve connections allowed for a user from each IP
  44. # address.
  45. # NOTE: The username is compared case-sensitively.
  46. #mail_max_userip_connections = 10
  47. # Space separated list of plugins to load (none known to be useful so far).
  48. # Do NOT try to load IMAP plugins here.
  49. #mail_plugins =
  50. # MANAGESIEVE logout format string:
  51. # %i - total number of bytes read from client
  52. # %o - total number of bytes sent to client
  53. #managesieve_logout_format = bytes=%i/%o
  54. # To fool ManageSieve clients that are focused on CMU's timesieved you can
  55. # specify the IMPLEMENTATION capability that Dovecot reports to clients.
  56. # For example: 'Cyrus timsieved v2.2.13'
  57. #managesieve_implementation_string = Dovecot Pigeonhole
  58. # Explicitly specify the SIEVE and NOTIFY capability reported by the server
  59. # before login. If left unassigned these will be reported dynamically
  60. # according to what the Sieve interpreter supports by default (after login
  61. # this may differ depending on the user).
  62. #managesieve_sieve_capability =
  63. #managesieve_notify_capability =
  64. # The maximum number of compile errors that are returned to the client upon
  65. # script upload or script verification.
  66. #managesieve_max_compile_errors = 5
  67. # Refer to 90-sieve.conf for script quota configuration and configuration of
  68. # Sieve execution limits.
  69. }
  70. <% end -%>