feat(router): rewrite headers for list delivery

- Add List-Id, List-Post, List-Unsubscribe and Precedence headers
- Add one-click unsubscribe (RFC 8058) when a base URL is configured
- Strip incoming List-* headers to prevent spoofing
- Rewrite From as "Name via List" and keep the original in Reply-To
- Copy the message body byte for byte
This commit is contained in:
tgiachi 2026-11-09 14:50:56 +01:00
commit d8f31d9b3e

5
go.mod
View file

@ -2,7 +2,10 @@ module codeberg.org/squidd/parsimony
go 1.27.1
require modernc.org/sqlite v1.62.0
require (
github.com/emersion/go-message v0.18.2
modernc.org/sqlite v1.62.0
)
require (
github.com/dustin/go-humanize v1.1.0 // indirect