転送されたメールは元の「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 (転送)」として表示されるか確認してください。
19 lines
558 B
Python
19 lines
558 B
Python
# Generated by Django 5.0 on 2026-02-22 07:30
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('mail', '0002_alter_mailemail_feedback_alter_mailsender_rule'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='mailemail',
|
|
name='account',
|
|
field=models.CharField(choices=[('xserver', 'Xserver'), ('gmail', 'Gmail'), ('hotmail', 'Hotmail'), ('infoseek', 'Infoseek (転送)')], max_length=20, verbose_name='アカウント'),
|
|
),
|
|
]
|