|
|
|
@@ -16,7 +16,7 @@ |
|
|
|
# |
|
|
|
# location = [<type>:]path[;<option>[=<value>][;...]] |
|
|
|
# |
|
|
|
# If the type prefix is omitted, the script location type is 'file' and the |
|
|
|
# If the type prefix is omitted, the script location type is 'file' and the |
|
|
|
# location is interpreted as a local filesystem path pointing to a Sieve script |
|
|
|
# file or directory. Refer to Pigeonhole wiki or INSTALL file for more |
|
|
|
# information. |
|
|
|
@@ -27,7 +27,7 @@ plugin { |
|
|
|
# delivery. The "include" extension uses this location for retrieving |
|
|
|
# :personal" scripts. This is also where the ManageSieve service will store |
|
|
|
# the user's scripts, if supported. |
|
|
|
# |
|
|
|
# |
|
|
|
# Currently only the 'file:' location type supports ManageSieve operation. |
|
|
|
# Other location types like 'dict:' and 'ldap:' can currently only |
|
|
|
# be used as a read-only script source (). |
|
|
|
@@ -46,9 +46,9 @@ plugin { |
|
|
|
# script. |
|
|
|
#sieve_default = /var/lib/dovecot/sieve/default.sieve |
|
|
|
|
|
|
|
# The name by which the default Sieve script (as configured by the |
|
|
|
# sieve_default setting) is visible to the user through ManageSieve. |
|
|
|
#sieve_default_name = |
|
|
|
# The name by which the default Sieve script (as configured by the |
|
|
|
# sieve_default setting) is visible to the user through ManageSieve. |
|
|
|
#sieve_default_name = |
|
|
|
|
|
|
|
# Location for ":global" include scripts as used by the "include" extension. |
|
|
|
#sieve_global = |
|
|
|
@@ -63,7 +63,7 @@ plugin { |
|
|
|
#sieve_discard = |
|
|
|
|
|
|
|
# Location Sieve of scripts that need to be executed before the user's |
|
|
|
# personal script. If a 'file' location path points to a directory, all the |
|
|
|
# personal script. If a 'file' location path points to a directory, all the |
|
|
|
# Sieve scripts contained therein (with the proper `.sieve' extension) are |
|
|
|
# executed. The order of execution within that directory is determined by the |
|
|
|
# file names, using a normal 8bit per-character comparison. |
|
|
|
@@ -113,6 +113,7 @@ plugin { |
|
|
|
# (http://pigeonhole.dovecot.org) for available plugins. |
|
|
|
# The sieve_extprograms plugin is included in this release. |
|
|
|
#sieve_plugins = |
|
|
|
sieve_plugins = sieve_imapsieve sieve_extprograms |
|
|
|
|
|
|
|
# The separator that is expected between the :user and :detail |
|
|
|
# address parts introduced by the subaddress extension. This may |
|
|
|
@@ -182,18 +183,18 @@ plugin { |
|
|
|
## TRACE DEBUGGING |
|
|
|
# Trace debugging provides detailed insight in the operations performed by |
|
|
|
# the Sieve script. These settings apply to both the LDA Sieve plugin and the |
|
|
|
# IMAPSIEVE plugin. |
|
|
|
# IMAPSIEVE plugin. |
|
|
|
# |
|
|
|
# WARNING: On a busy server, this functionality can quickly fill up the trace |
|
|
|
# directory with a lot of trace files. Enable this only temporarily and as |
|
|
|
# selective as possible. |
|
|
|
|
|
|
|
|
|
|
|
# The directory where trace files are written. Trace debugging is disabled if |
|
|
|
# this setting is not configured or if the directory does not exist. If the |
|
|
|
# this setting is not configured or if the directory does not exist. If the |
|
|
|
# path is relative or it starts with "~/" it is interpreted relative to the |
|
|
|
# current user's home directory. |
|
|
|
#sieve_trace_dir = |
|
|
|
|
|
|
|
|
|
|
|
# The verbosity level of the trace messages. Trace debugging is disabled if |
|
|
|
# this setting is not configured. Possible values are: |
|
|
|
# |
|
|
|
@@ -204,12 +205,27 @@ plugin { |
|
|
|
# "matching" - Print all executed commands, performed tests and the |
|
|
|
# values matched in those tests. |
|
|
|
#sieve_trace_level = |
|
|
|
|
|
|
|
|
|
|
|
# Enables highly verbose debugging messages that are usually only useful for |
|
|
|
# developers. |
|
|
|
#sieve_trace_debug = no |
|
|
|
|
|
|
|
|
|
|
|
# Enables showing byte code addresses in the trace output, rather than only |
|
|
|
# the source line numbers. |
|
|
|
#sieve_trace_addresses = no |
|
|
|
#sieve_trace_addresses = no |
|
|
|
|
|
|
|
# From elsewhere to Junk folder |
|
|
|
imapsieve_mailbox1_name = INBOX.Junk |
|
|
|
imapsieve_mailbox1_causes = COPY |
|
|
|
imapsieve_mailbox1_before = file:/etc/dovecot/sieve/learn-spam.sieve |
|
|
|
|
|
|
|
# From Junk folder to elsewhere |
|
|
|
imapsieve_mailbox2_name = * |
|
|
|
imapsieve_mailbox2_from = INBOX.Junk |
|
|
|
imapsieve_mailbox2_causes = COPY |
|
|
|
imapsieve_mailbox2_before = file:/etc/dovecot/sieve/learn-ham.sieve |
|
|
|
|
|
|
|
sieve_pipe_bin_dir = /etc/dovecot/sieve |
|
|
|
|
|
|
|
sieve_global_extensions = +vnd.dovecot.pipe |
|
|
|
} |