516ac46d3e8b7ab82907f2e46837c4d82affc735
[sysconfig/dovecot.git] / conf.d / 90-sieve.conf
1 ##
2 ## Settings for the Sieve interpreter
3 ## 
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
8 plugin {
9   # The path to the user's main active script. If ManageSieve is used, this the
10   # location of the symbolic link controlled by ManageSieve.
11   sieve = ~/.dovecot.sieve
12
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
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
25   # Directory for :global include scripts for the include extension. 
26   #sieve_global_dir =
27
28   # Path to a script file or a directory containing script files that need to be
29   # executed before the user's script. If the path points to a directory, all
30   # the Sieve scripts contained therein (with the proper .sieve extension) are
31   # executed. The order of execution is determined by the file names, using a
32   # normal 8bit per-character comparison. 
33   #sieve_before =
34
35   # Identical to sieve_before, only the specified scripts are executed after the
36   # user's script (only when keep is still in effect!). 
37   #sieve_after =
38    
39   # Which Sieve language extensions are available to users. By default, all 
40   # supported extensions are available, except for deprecated extensions or
41   # those that are still under development. Some system administrators may want
42   # to disable certain Sieve extensions or enable those that are not available
43   # by default. This setting can use '+' and '-' to specify differences relative
44   # to the default. For example `sieve_extensions = +imapflags' will enable the
45   # deprecated imapflags extension in addition to all extensions thatwere
46   # already enabled by default. 
47   #sieve_extensions = +notify +imapflags
48
49   # The Pigeonhole Sieve interpreter can have plugins of its own. Using this
50   # setting, the used plugins can be specified. Check the Dovecot wiki
51   # (wiki2.dovecot.org) or the pigeonhole website
52   # (http://pigeonhole.dovecot.org) for available plugins.
53   #sieve_plugins =
54
55   # The separator that is expected between the :user and :detail 
56   # address parts introduced by the subaddress extension. This may 
57   # also be a sequence of characters (e.g. '--'). The current 
58   # implementation looks for the separator from the left of the 
59   # localpart and uses the first one encountered. The :user part is 
60   # left of the separator and the :detail part is right. This setting
61   # is also used by Dovecot's LMTP service.
62   #recipient_delimiter = +
63
64   # The maximum size of a Sieve script. The compiler will refuse to 
65   # compile any script larger than this limit.
66   #sieve_max_script_size = 1M
67
68   # The maximum number of actions that can be performed during a single
69   # script execution.
70   #sieve_max_actions = 32
71
72   # The maximum number of redirect actions that can be performed during
73   # a single script execution.
74   #sieve_max_redirects = 4
75
76   # The maximum number of personal Sieve scripts a single user can have.
77   # (Currently only relevant for ManageSieve)
78   #sieve_quota_max_scripts = 0
79
80   # The maximum amount of disk storage a single user's scripts may occupy.
81   # (Currently only relevant for ManageSieve) 
82   #sieve_quota_max_storage = 0
83 }