sasl service for other app

Alessio Cecchi alessio at skye.it
Thu Dec 8 19:17:11 UTC 2022


Yes,

we are using dovecot, also, for SASL only as authentication provider.

Here some relevants parts of the configuration:

# probably not necessary but dovecot requires it so i set it to /tmp/

mail_location = maildir:/tmp/%u/Maildir:INDEX=memory

# setup a mysql database with your users and password
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}

userdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}

# here is the most important part, with this you can query SASL via port 
"12345" or via socket
service auth {
   inet_listener {
     port = 12345
   }
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0660
     user = postfix
   }
}

# SASL don't support SSL
ssl = no

Ciao

Il 08/12/22 05:53, Henry R ha scritto:
> can dovecot run as a general sasl service for other apps? such as webdav.
>
> Thanks.

-- 
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice



More information about the dovecot mailing list