1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

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.
This commit is contained in:
Alberto Bertogli
2017-12-09 21:35:27 +00:00
parent d4992ef8c5
commit 51e7c5c19e
13 changed files with 557 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ endif
default: chasquid
all: chasquid chasquid-util smtp-check spf-check mda-lmtp
all: chasquid chasquid-util smtp-check spf-check mda-lmtp dovecot-auth-cli
chasquid:
@@ -33,11 +33,15 @@ spf-check:
mda-lmtp:
go build ${GOFLAGS} ./cmd/mda-lmtp/
dovecot-auth-cli:
go build ${GOFLAGS} ./cmd/dovecot-auth-cli/
test:
go test ${GOFLAGS} ./...
setsid -w ./test/run.sh
setsid -w ./cmd/chasquid-util/test.sh
setsid -w ./cmd/mda-lmtp/test.sh
setsid -w ./cmd/dovecot-auth-cli/test.sh
install-binaries: chasquid chasquid-util smtp-check mda-lmtp
@@ -54,4 +58,5 @@ install-config-skeleton:
fi
.PHONY: chasquid chasquid-util smtp-check spf-check mda-lmtp test
.PHONY: chasquid test \
chasquid-util smtp-check spf-check mda-lmtp dovecot-auth-cli