mod_auth_dovecot/README: Expand example
authorKim Alvefur <zash@zash.se>
Sat, 08 Sep 2018 11:31:26 +0200
changeset 3303 2c62fda477a5
parent 3302 a646fcb45334
child 3305 f69233c3e0c0
mod_auth_dovecot/README: Expand example
mod_auth_dovecot/README.markdown
--- 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.