Chasquid and Dovecot SASL¶
chasquid users can use Dovecot SASL instead of Cyrus SASL for authenticating SMTP clients.
This is supported from version 0.04 and later, and uses the PLAIN
mechanism only.
Configuration Example¶
dovecot.conf
:
auth_mechanisms = plain login
service auth {
...
# If chasquid is running under a different user, adjust the 'user ='
# lines accordingly.
unix_listener auth-chasquid-userdb {
mode = 0660
user = chasquid
}
unix_listener auth-chasquid-client {
mode = 0660
user = chasquid
}
...
}
Add to /etc/chasquid/chasquid.conf
:
dovecot_auth: true
That should be it, because chasquid will “autodetect” the full path to the Dovecot sockets, by looking in the usual places (tested in Debian, Ubuntu, and CentOS).
If chasquid can’t find them, the paths can be set with the
dovecot_userdb_path
and dovecot_client_path
options (see the
chasquid configuration manual page for details).
Additional Information¶
chasquid’s Dovecot integration documentation
chasquid’s How-to
chasquid’s Dovecot library source code