Changeset

3299:2c62fda477a5

mod_auth_dovecot/README: Expand example
author Kim Alvefur <zash@zash.se>
date Sat, 08 Sep 2018 11:31:26 +0200
parents 3298:a646fcb45334
children 3301:f69233c3e0c0
files mod_auth_dovecot/README.markdown
diffstat 1 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mod_auth_dovecot/README.markdown	Thu Sep 06 18:41:09 2018 +0200
+++ b/mod_auth_dovecot/README.markdown	Sat Sep 08 11:31:26 2018 +0200
@@ -32,14 +32,16 @@
 the *socket listen* section of /etc/dovecot/dovecot.conf, and match the
 socket path in Prosody's dovecot\_auth\_socket setting.
 
-    socket listen {
-      ...
-      client {
-        path = /var/spool/prosody/private/auth-client
-          mode = 0660
-          user = prosody
-          group = prosody
-      }
+    service auth {
+        socket listen {
+            client {
+                path = /var/spool/prosody/private/auth-client
+                    mode = 0660
+                    user = prosody
+                    group = prosody
+            }
+        }
+    }
 
 Make sure the socket directories exist and are owned by the Prosody
 user.