mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
This patch adds a new package which implements two basic primitives for
authenticating against dovecot ("user exists", and "check password").
It is still experimental/work in progress.
17 lines
239 B
Plaintext
17 lines
239 B
Plaintext
|
|
userdb unix_listen .dovecot-userdb
|
|
|
|
c = ./dovecot-auth-cli .dovecot exists username
|
|
|
|
userdb -> VERSION 1 1
|
|
userdb -> SPID 12345
|
|
|
|
userdb <- VERSION 1 1
|
|
userdb <- USER 1 username service=smtp
|
|
|
|
userdb -> NOTFOUND 1
|
|
|
|
c wait 1
|
|
|
|
c <- no: <nil>
|