summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-09-08 02:10:41 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-09-08 02:10:41 +0200
commit4977d7c1d80ac0caf94914fbf9be8471d056c906 (patch)
tree47c03cb07ea14d0cce56ecefce583570f10947a8 /roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
parent6f7e29aa7227147a5c9038fe92d484d11e90d6fc (diff)
IMAP: Adjust dovecot configuration to bullseye.
Provisioning /etc/dovecot/conf.d/*.conf is a pain on upgrade so we consolidate that by reverting these files to the distro-provided ones and shipping a single /etc/dovecot/conf.d/99-local.conf override instead.
Diffstat (limited to 'roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf')
-rw-r--r--roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf28
1 files changed, 0 insertions, 28 deletions
diff --git a/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf b/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
deleted file mode 100644
index 52a81ca..0000000
--- a/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
+++ /dev/null
@@ -1,28 +0,0 @@
-##
-## 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
-
- quota_rule = *:storage=0
- quota = count:User quota
- quota_vsizes = yes
-
- zlib_save = gz
- zlib_save_level = 6
-}