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:
parent
eb9e992f4a
commit
d8f31d9b3e
1 changed files with 181 additions and 3 deletions
5
go.mod
5
go.mod
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue