Feature request System command filter. run_on header
- 主要言語
- Go
- スター
- 6.1k
- フォーク
- 327
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I would like to amend parts of the header to help with EMail rejection. The following description was taken from here: https://serverfault.com/questions/216731/removing-headers-from-postfix-sent-mail
_Anti-spam systems hate finding anything related to EC2, so some kind of cloaking is regrettably necessary.
A postfix example header_checks snippit for your consideration.
/^(Received: .amazonaws.com.)/ REPLACE X-Cloak-$1_
In the case of "run_on header", I would like to replace the header rather than the header from stdout being prepended to the message header. Using the System command filter in this way would provide a ubiquitous solution to any header problems.
コントリビューションガイド
調査の方向性
まず、maddy のソース内で System command filter と `run_on header` の処理を探します。要求された header の置換が、現在の command stdout を先頭に追加する動作とどのように異なるべきかを定義し、その後、置換を示すカバレッジを追加して、関連するフィルターテストを実行します。フィルターが元の header を残さずにメッセージヘッダーを対象にできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100