- Add api.listen config; token comes from PARSIMONY_API_TOKEN - Disable the API when the token is not set - Add OpenAPI description and README usage
718 B
718 B
parsimony
A modern, single-binary mailing list manager: an evolution of Mailman.
- Postfix delivers to parsimony over LMTP; parsimony relays through SMTP.
- Discussion lists with member-only posting,
List-*headers, one-click unsubscribe and DMARC-safeFromrewriting. - SQLite storage, one YAML config file.
- Admin REST API under
/api/v1(seedocs/openapi.yaml).
Run
cp parsimony.example.yaml parsimony.yaml
PARSIMONY_API_TOKEN=<token> go run ./cmd/parsimony -config parsimony.yaml
The API is disabled when PARSIMONY_API_TOKEN is not set.
curl -H "Authorization: Bearer $PARSIMONY_API_TOKEN" -d '{"name":"dev","domain":"example.org","title":"Dev"}' localhost:8080/api/v1/lists