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