90-sieve-extprograms.conf 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Sieve Extprograms plugin configuration
  2. # Don't forget to add the sieve_extprograms plugin to the sieve_plugins setting.
  3. # Also enable the extensions you need (one or more of vnd.dovecot.pipe,
  4. # vnd.dovecot.filter and vnd.dovecot.execute) by adding these to the
  5. # sieve_extensions or sieve_global_extensions settings. Restricting these
  6. # extensions to a global context using sieve_global_extensions is recommended.
  7. plugin {
  8. # The directory where the program sockets are located for the
  9. # vnd.dovecot.pipe, vnd.dovecot.filter and vnd.dovecot.execute extension
  10. # respectively. The name of each unix socket contained in that directory
  11. # directly maps to a program-name referenced from the Sieve script.
  12. #sieve_pipe_socket_dir = sieve-pipe
  13. #sieve_filter_socket_dir = sieve-filter
  14. #sieve_execute_socket_dir = sieve-execute
  15. # The directory where the scripts are located for direct execution by the
  16. # vnd.dovecot.pipe, vnd.dovecot.filter and vnd.dovecot.execute extension
  17. # respectively. The name of each script contained in that directory
  18. # directly maps to a program-name referenced from the Sieve script.
  19. #sieve_pipe_bin_dir = /usr/lib/dovecot/sieve-pipe
  20. #sieve_filter_bin_dir = /usr/lib/dovecot/sieve-filter
  21. #sieve_execute_bin_dir = /usr/lib/dovecot/sieve-execute
  22. }
  23. # An example program service called 'do-something' to pipe messages to
  24. #service do-something {
  25. # Define the executed script as parameter to the sieve service
  26. #executable = script /usr/lib/dovecot/sieve-pipe/do-something.sh
  27. # Use some unprivileged user for executing the program
  28. #user = dovenull
  29. # The unix socket located in the sieve_pipe_socket_dir (as defined in the
  30. # plugin {} section above)
  31. #unix_listener sieve-pipe/do-something {
  32. # LDA/LMTP must have access
  33. # user = vmail
  34. # mode = 0600
  35. #}
  36. #}