go test -race ./...
go run ./cmd/emailfilter
The code is in internal/: checks (MX, SMTP, RDAP and WHOIS), lists, reputation, scores, filter (the score), httpapi and policy (the Postfix policy service). It has one dependency outside the Go standard library, golang.org/x/net/idna. CI runs gofmt, go vet, golangci-lint, the tests with the race detector, govulncheck, a Trivy scan of the image and a smoke test of the container.
The website and demo live in site/. cmd/wasm is EmailFilter compiled to WebAssembly, with MX records from DNS-over-HTTPS and the domain age from RDAP (internal/webnet); browsers cannot do the SMTP or WHOIS checks. Build and preview it with:
./scripts/build-site.sh
python3 -m http.server -d _site
EmailFilter follows semantic versioning. VERSION holds the next release.
Contributing
Send changes as pull requests on GitHub. Commit subjects follow conventional commits (feat: …, fix(checks): …), because the release notes are made from them.