From 65337ca50e44a38b57c048d56d88e1941889f1d1 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 31 Aug 2025 16:53:04 +0200 Subject: [PATCH] auth socket lives in Postfix' chroot again --- src/content/docs/ispmail-trixie/165-dovecot.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/content/docs/ispmail-trixie/165-dovecot.mdx b/src/content/docs/ispmail-trixie/165-dovecot.mdx index efd0336..6d2c3aa 100644 --- a/src/content/docs/ispmail-trixie/165-dovecot.mdx +++ b/src/content/docs/ispmail-trixie/165-dovecot.mdx @@ -34,7 +34,7 @@ done by this magical line at the end of the `/etc/dovecot/dovecot.conf` file: !include conf.d/*.conf ``` -It loads all files in `/etc/dovecot/conf.d/` that end in “.conf” in alphanumerical order. Let's edit a couple of files +It loads all files in `/etc/dovecot/conf.d/` that end in “.conf" in alphanumerical order. Let's edit a couple of files for our purpose. ### 10-auth.conf @@ -85,20 +85,20 @@ TODO: not needed. /var/run/dovecot/auth-userdb is created automatically. This configuration file at `/etc/dovecot/conf.d/10-master.conf` deals with Dovecot's services. -So most settings are sane here and do not have to be changed. However one change is required in the “service auth” +So most settings are sane here and do not have to be changed. However one change is required in the “service auth" section because we want Postfix to allow Dovecot as an authentication service. Make it look like this: ``` # Postfix smtp-auth -unix_listener /var/spool/postfix/private/auth { +unix_listener /var/spool/postfix/private/dovecot-auth { mode = 0660 user = postfix group = postfix } ``` -That way Dovecot will put a communication socket into `/var/spool/postfix/private/auth`. It will allow Postfix to -authenticate your users which is relevant later when we set up _relaying_. +That way Dovecot will put a communication socket into `/var/spool/postfix/private/dovecot-auth`. It will allow Postfix +to authenticate your users which is relevant later when we set up _relaying_. ### 10-ssl.conf