転送検出の仕組み

転送されたメールは元の「To:」ヘッダーに infoseek.jp が残ります:

To: akiracraftwork@infoseek.jp  ← Outlook が転送時に保持
このドメインが forwarding_map に一致したら account_code = "infoseek" に切り替えます。

変更まとめ
ファイル	変更内容
models.py	infoseek を ACCOUNT_CHOICES に追加 + migration
mail_filter.flow.json	forwarding_map追加、転送検出ロジック、ローカルにデプロイ済み
history/page.tsx	ACCOUNT_LABELS と フィルタに infoseek 追加
infoseek.jpにテストメールを送って、次回フロー実行時に「Infoseek (転送)」として表示されるか確認してください。
This commit is contained in:
Akira
2026-02-23 12:42:03 +09:00
parent 04b1ca1bb9
commit ae4e60f156
5 changed files with 25 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ const ACCOUNT_LABELS: Record<string, string> = {
gmail: 'Gmail',
hotmail: 'Hotmail',
xserver: 'Xserver',
infoseek: 'Infoseek (転送)',
};
export default function MailHistoryPage() {
@@ -97,6 +98,7 @@ export default function MailHistoryPage() {
<option value="gmail">Gmail</option>
<option value="hotmail">Hotmail</option>
<option value="xserver">Xserver</option>
<option value="infoseek">Infoseek ()</option>
</select>
<select
value={filterVerdict}