Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

5 - 迷惑メールフォルダーと管理者検疫

最終更新 Markdown で表示Agent セットアップ

このチュートリアルでは、BULK メッセージをユーザーの迷惑メールフォルダーへ配信し、MALICIOUSSPAMSPOOF メッセージを管理者検疫(Administrative Quarantine)へ配信する方法を説明します。管理者検疫のメールは、管理者が解除する必要があります。

迷惑メール対策ポリシーを設定する

迷惑メール対策ポリシーを設定するには:

  1. Microsoft 365 Defender コンソール を開きます。

  2. Email & collaboration > Policies & rules を開きます。

  3. Threat policies を選択します。

  4. Policies の下で Anti-spam を選択します。

  5. Anti-spam inbound policy (Default) のテキスト(チェックボックスではなく)を選択します。

  6. Actions で下にスクロールし、Edit actions を選択します。

  7. 次の条件とアクションを設定します(見つけるために上下にスクロールする必要がある場合があります)。

  • Spam: Move messages to Junk Email folder.
  • High confidence spam: Quarantine message.
    • Select quarantine policy: _AdminOnlyAccessPolicy_.
  • Phishing: Quarantine message.
    • Select quarantine policy: _AdminOnlyAccessPolicy_.
  • High confidence phishing: Quarantine message.
    • Select quarantine policy: _AdminOnlyAccessPolicy_.
  • Retain spam in quarantine for this many days: デフォルトは 15 日です。Email security は 15〜30 日を推奨します。
    • 上記の手順で迷惑メールのアクションを選択します。
  1. Save を選択します。

トランスポートルールを作成する

特定の disposition のメールを Email security に送るトランスポートルールを作成するには:

  1. 新しい Exchange admin center を開きます。

  2. Mail flow > Rules を開きます。

  3. Add a Rule > Create a new rule を選択します。

  4. 次のルール条件を設定します。

    • Name: Email security Deliver to Junk Email folder`.
    • Apply this rule if: The message headers > includes any of these words.
      • Enter text: X-CFEmailSecurity-Disposition > Save.
      • Enter words: BULK > Add > Save.
    • Apply this rule if: + を選択して 2 つ目の条件を追加します。
    • And: The sender > IP address is in any of these ranges or exactly matches > Egress IPs のページに記載のエグレス IP を入力します。
    • Do the following - _Modify the message properties_ > _Set the Spam Confidence Level (SCL)_ > _5_.
  5. Next を選択します。

  6. この画面はデフォルト値のままで構いません。Next を選択します。

  7. 設定を確認し、Finish > Done を選択します。

  8. 作成したルール Email security Deliver to Junk Email folder` を選択し、Enable を選びます。

  9. Add a Rule > Create a new rule を選択します。

  10. 次のルール条件を設定します。

    • Name: `Email security Admin Managed Host Quarantine`.
    • Apply this rule if: The message headers > includes any of these words.
      • Enter text: X-CFEmailSecurity-Disposition > Save.
      • Enter words: `MALICIOUS`, `UCE`, `SPOOF` > Add > Save.
    • Apply this rule if: + を選択して 2 つ目の条件を追加します。
    • And: The sender > IP address is in any of these ranges or exactly matches > Egress IPs のページに記載のエグレス IP を入力します。
    • Do the following: _Redirect the message to_ > _hosted quarantine_.
  11. Next を選択します。

  12. この画面はデフォルト値のままで構いません。Next を選択します。

  13. 設定を確認し、Finish > Done を選択します。

  14. 作成したルール `Email security Admin Managed Host Quarantine` を選択し、Enable を選びます。

役に立ちましたか?