This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.

chasquid and Dovecot SASL

chasquid users can use Dovecot SASL authenticating SMTP clients.

This is supported from version 0.04 and later, and uses the PLAIN mechanism (only).


The following needs to be added to the Dovecot configuration, usually in /etc/dovecot/conf.d/10-master.conf:

service auth {
  unix_listener auth-chasquid-userdb {
    mode = 0660
    user = chasquid
  unix_listener auth-chasquid-client {
    mode = 0660
    user = chasquid

If chasquid is running under a different user, adjust the user = lines accordingly.


Add the following line 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 configuration manual page for details).

More information

For more information, you can check:

None: HowTo/ChasquidAndDovecotSASL (last edited 2020-05-31 09:36:22 by 37)