# HG changeset patch # User daniel@aleksand.no # Date 1315007136 0 # Node ID 101519e4ef140a5c332a614ad00c95ea880d493b # Parent ba570bca712e0a19040c24b0a55763f554b578bb Edited wiki page mod_auth_dovecot through web user interface. Included information on how to set it up in Dovecot. diff -r ba570bca712e -r 101519e4ef14 mod_auth_dovecot.wiki --- a/mod_auth_dovecot.wiki Sat Sep 03 01:28:29 2011 +0200 +++ b/mod_auth_dovecot.wiki Fri Sep 02 23:45:36 2011 +0000 @@ -19,7 +19,21 @@ || dovecot_auth_socket || Path to the Dovecot auth socket || /var/run/dovecot/auth-login || || auth_append_host || If true, sends the bare JID as authzid. || false || +The Dovecot user and group must have access to connect to this socket. You can create a new dedicated socket for Prosody too. Add the below to 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 + } +}}} + +Make sure the socket directories exist and are owned by the Prosody user. + = Compatibility = ||trunk||Works|| -||0.8||Works|| - +||0.8||Works|| \ No newline at end of file