summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
blob: b205c207890ab211aa851b4831480a2d6bddbb0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
##
## Plugin settings
##

# All wanted plugins must be listed in mail_plugins setting before any of the
# settings take effect. See <doc/wiki/Plugins.txt> for list of plugins and
# their configuration. Note that %variable expansion is done for all values.

plugin {
  antispam_backend = spool2dir

  antispam_trash = Trash
  antispam_unsure_pattern_ignorecase = MailTrain;MailTrain/*
  antispam_spam = Junk

  # The first %%lu is replaced by the current time.
  # The second %%lu is replaced by a counter to generate unique names.
  # These two tokens MUST be present in the template!
  antispam_spool2dir_spam    = /home/mail/spamspool/%u-%%10lu-%%06lu.spam
  antispam_spool2dir_notspam = /home/mail/spamspool/%u-%%10lu-%%06lu.ham


  zlib_save = gz
  zlib_save_level = 6
}