Postfix milter that ARC-seals forwarded mail with the forwarder's domain key
226
Postfix milter in Go that adds an ARC set (RFC 8617โ ) to each forwarded message, sealed with the forwarder's own key. One process, one job: it checks the chain the message arrived with, copies the forwarding ADMD's Authentication-Results, signs the message and seals the chain. The key is a row of the same dkim table as dkim-milter's, encrypted with a Vault Transit key of its own, arc.
Licensed under AGPLv3, see LICENSEโ . Website: yarilomail.orgโ ยท Docs: ARC sealingโ on doc.yarilomail.org
redirect) with an ARC set: it validates the chain the message came with, copies the MX's Authentication-Results, signs the message and seals the chain, rsa-sha256 only.DKIM-Signature.arc or arc-<label> row in the same dkim table, encrypted with a Vault Transit key and role of its own, so a flaw here cannot reach the client domains' DKIM keys.Everything about running it is on doc.yarilomail.orgโ :
| Path | What |
|---|---|
app/go | the milter, Go 1.27, go test ./... |
app/go/testdata | ARC chains sealed by dkimpy, an independent implementation, and the script that makes them |
helm | the chart |
helm_values | values for the yarilo stand |
The tests check chain validation against the dkimpy chains, and a seal of this milter on one of them also validates with dkimpy (ARC_DKIMPY_OUT keeps that message for it).
Work lands on develop through pull requests, with Lint and Test green; main takes releases only. develop carries -dev.N in helm/Chart.yaml, bumped in the PR that changes the image, and each merge builds the image in GHCR. A merge into main with a release version publishes <version> and latest to GHCR and Docker Hub and creates the release v<version>. The chart goes to oci://ghcr.io/yarilomail/charts/arc-milter on a release, signed with cosign.
A release keeps main inside develop: a pull request into develop sets the release version, a pull request from develop into main is merged with a merge commit (not squash or rebase), and the next pull request into develop starts the next -dev.1. No release branch, and no commit lands on main that develop does not have.
docker pull 0kaba0/arc-milter:latest