foxcpp / foxcpp/maddy

Add modifiers to rewrite headers

Open
#158 8 comments 2 reactions 0 assignees View on GitHub
blocked filter
Dominant language
Go
Stars
6.1k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

See https://github.com/foxcpp/maddy/issues/158#issuecomment-551166366.

--
Original post:

This should not be used for relays (RFC 5321 prohibits modification of existing header fields) but is usually fine for submission servers. In case of submission, this is what people probably want when saying "replace sender" \*.
Need to think whether it may be useful for replace_rcpt too.

```
replace_sender this that {
header on # probably default
}
```

\* replacing only MAIL FROM command argument (as currently done by replace_sender) can invalidate DMARC alignment, btw.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.