foxcpp / foxcpp/maddy

Add modifiers to rewrite headers

Aperta
#158 8 commenti 2 reazioni 0 assegnatari Vedi su GitHub
blocked filter
Lingua principale
Go
Stelle
6.1k
Fork
327
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.