foxcpp / foxcpp/maddy

Add modifiers to rewrite headers

オープン
#158 コメント 8 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

blocked filter
主要言語
Go
スター
6.1k
フォーク
327
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされた issue コメントと、issue に記載されている既存の replace_sender の動作から始めます。ヘッダーモディファイアが replace_sender とどのように連携すべきか、replace_rcpt を対象範囲に含めるか、また submission と relay のどちらで使用するかが設計にどう影響するかを明確にします。モディファイアの動作と対象範囲について合意し、想定されるケースをカバーして実装されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go
領域
backend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。