From 52e4f5906023c29c75e0e0c96f91cc4042d9f9ae Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 30 Dec 2021 18:07:43 -0300 Subject: Bullseye updates --- templates/dovecot/dovecot.conf.bullseye.erb | 98 +++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 templates/dovecot/dovecot.conf.bullseye.erb (limited to 'templates') diff --git a/templates/dovecot/dovecot.conf.bullseye.erb b/templates/dovecot/dovecot.conf.bullseye.erb new file mode 100644 index 0000000..a515e35 --- /dev/null +++ b/templates/dovecot/dovecot.conf.bullseye.erb @@ -0,0 +1,98 @@ +# 2.1.7: /etc/dovecot/dovecot.conf +# OS: Linux 2.6.32-5-vserver-amd64 x86_64 Debian 7.3 ufs + +# See http://help.directadmin.com/item.php?id=348 +listen = * + +auth_mechanisms = plain login +log_timestamp = "%Y-%m-%d %H:%M:%S " +login_log_format_elements = user=<%%u> method=%m %c +mail_location = maildir:/var/mail/virtual/%u +mail_privileged_group = mail +passdb { + args = /etc/dovecot/dovecot-sql.conf + driver = sql +} +plugin { + sieve = ~/.dovecot.sieve + sieve_storage = ~/sieve +} +protocols = imap +service auth { + unix_listener /var/spool/postfix/private/auth { + group = postfix + mode = 0660 + user = postfix + } + unix_listener auth-master { + group = mail + mode = 0600 + user = vmail + } + user = root +} + +# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before +# dropping root privileges, so keep the key file unreadable by anyone but +# root. +ssl_cert = +} + +# Should saving a mail to a non-existing mailbox automatically create it? +lda_mailbox_autocreate = yes + +# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903161 +service stats { + unix_listener stats-reader { + mode = 0 + } + unix_listener stats-writer { + mode = 0 + } +} + +# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903161 +service old-stats { + fifo_listener old-stats-mail { + mode = 0 + } + fifo_listener old-stats-user { + mode = 0 + } + unix_listener old-stats { + mode = 0 + } +} -- cgit v1.2.3