Software /
code /
prosody-modules
Comparison
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 |
comparison
equal
deleted
inserted
replaced
3298:a646fcb45334 | 3299:2c62fda477a5 |
---|---|
30 The Dovecot user and group must have access to connect to this socket. | 30 The Dovecot user and group must have access to connect to this socket. |
31 You can create a new dedicated socket for Prosody too. Add the below to | 31 You can create a new dedicated socket for Prosody too. Add the below to |
32 the *socket listen* section of /etc/dovecot/dovecot.conf, and match the | 32 the *socket listen* section of /etc/dovecot/dovecot.conf, and match the |
33 socket path in Prosody's dovecot\_auth\_socket setting. | 33 socket path in Prosody's dovecot\_auth\_socket setting. |
34 | 34 |
35 socket listen { | 35 service auth { |
36 ... | 36 socket listen { |
37 client { | 37 client { |
38 path = /var/spool/prosody/private/auth-client | 38 path = /var/spool/prosody/private/auth-client |
39 mode = 0660 | 39 mode = 0660 |
40 user = prosody | 40 user = prosody |
41 group = prosody | 41 group = prosody |
42 } | 42 } |
43 } | |
44 } | |
43 | 45 |
44 Make sure the socket directories exist and are owned by the Prosody | 46 Make sure the socket directories exist and are owned by the Prosody |
45 user. | 47 user. |
46 | 48 |
47 Note: Dovecot uses UNIX sockets by default. luasocket is compiled with | 49 Note: Dovecot uses UNIX sockets by default. luasocket is compiled with |