You must login to view /lordwelch/chasquid/commit/7b51ce725bd5a053dec0a2b19b9d8313eaa87279?files=chasquid.go.
The GitHub option should be usable for most people, it only links via username.

Files
chasquid/cmd/dovecot-auth-cli/test_exists_yes.cmy
Alberto Bertogli 51e7c5c19e dovecot: Dovecot authentication package
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.
2018-02-10 23:01:23 +00:00

16 lines
276 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 -> USER 1 username system_groups_user=blah uid=10 gid=10
c <- yes
c wait 0