summaryrefslogtreecommitdiff
path: root/dovecot
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2019-10-20 14:29:12 +0200
committerJonas Smedegaard <dr@jones.dk>2019-10-20 14:29:12 +0200
commit8914e114eadc5c9267e4c45bd369eb486ce39ebb (patch)
tree0500b6fb0809af1e68239514b13cad22b1dde66c /dovecot
parent0493eab61e567bef92a5a83a58064705a0267af8 (diff)
Add dovceot snippet to disable stats.
Diffstat (limited to 'dovecot')
-rw-r--r--dovecot/conf.d/50-stats-local.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/dovecot/conf.d/50-stats-local.conf b/dovecot/conf.d/50-stats-local.conf
new file mode 100644
index 0000000..e281c04
--- /dev/null
+++ b/dovecot/conf.d/50-stats-local.conf
@@ -0,0 +1,28 @@
+root@lnxp5:/etc/dovecot/conf.d# less 50-stats-local.conf
+# Disable stats, to ease running non-administrative commands
+#
+# Origin: <https://bugs.debian.org/903161#41>
+# and <https://bugs.debian.org/903161#51>
+
+stats_writer_socket_path=
+
+service stats {
+ unix_listener stats-reader {
+ mode = 0
+ }
+ unix_listener stats-writer {
+ mode = 0
+ }
+}
+
+service old-stats {
+ fifo_listener old-stats-mail {
+ mode = 0
+ }
+ fifo_listener old-stats-user {
+ mode = 0
+ }
+ unix_listener old-stats {
+ mode = 0
+ }
+}