Diff

mod_auth_dovecot/README.markdown @ 3299:2c62fda477a5

mod_auth_dovecot/README: Expand example
author Kim Alvefur <zash@zash.se>
date Sat, 08 Sep 2018 11:31:26 +0200
parent 1820:8de50be756e5
child 3306:b06fc0d03003
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.