summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-10 14:22:16 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-10 14:22:16 +0200
commitbed9bfaaa99dde6ecfb04e6a9ce98176b5ca604f (patch)
tree5900412ff9d64eeb376a79a079a2d5a0e246c010 /roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
parent5c8ac82b9d990539fea1aaa6518aba5adb35ba1c (diff)
Dovecot: Collect IMAP statistics.
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.conf6
1 files changed, 6 insertions, 0 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
index b205c20..b6fcd3b 100644
--- a/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
+++ b/roles/IMAP/files/etc/dovecot/conf.d/90-plugin.conf
@@ -5,21 +5,27 @@
# 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
+
+
+ # how often to session statistics
+ stats_refresh = 30 secs
+ # track per-IMAP command statistics
+ stats_track_cmds = yes
}