Skip to content

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

BCC ルールを追加する

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

このページでは、Google 管理コンソールで BCC ルールを追加する手順を説明します。

BCC は Blind Carbon Copy(ブラインドカーボンコピー)の略です。BCC ルールは Google Workspace の機能で、選択した送信メールと受信メールの安全なコピーを作成できます。Email Security がメールのコピーを受け取れるようにすると、Cloudflare は配信後の分析を行い、受信トレイを保護できます。

BCC ルールを追加するには:

  1. Google 管理コンソール にログインします。
  2. サイドバーで Apps > Google Workspace > Gmail > Compliance を開きます。
  3. Content Compliance に進み、Edit を選択します。
  4. Content Compliance フィルターを追加し、名前を Email security - BCC にします。
  5. Email messages to affectInbound を選択します。
  6. BCC で Email Security へメールを送る受信者を選びます。Add expressions that describe the content you want to search for in each message で次を設定します。
    • If ANY of the following match the message を選択します。
    • Add を選択して式を設定します。
      • Advanced content match を選択します。
      • LocationHeaders + Body を選択します。
      • Match typeMatches regex を選択します。
      • Regexp.* を入力します。正規表現は必要に応じてカスタマイズでき、管理ページや Regexr などのサイトでテストできます。
      • SAVE を選択します。
  7. If the above expressions match, do the following で次を設定します。
    • Modify message を選択します。
      • 意図せずメールが破棄されないよう、Envelope recipient > Change envelope recipient が未選択であることを確認します。このオプションは後の手順で選択します。
      • Also deliver to に進み、Add more recipients > ADD を選択し、Advanced を選びます。
        • Envelope recipientChange envelope recipient > Replace recipient を選択し、サービスアドレスを入力します。これは、ドメインを接続する ときの手順 5 でコピーしたサービスアドレスです。 サービスアドレスをコピーしていない場合は、次の手順で確認します。
          • Cloudflare OneEmail security を開きます。
          • Settings に進み、Your domains でドメインを探します。
          • 三点リーダー > View domain > Service address を選択し、サービスアドレスをコピーします。
        • Spam and delivery options で、Suppress bounces from this recipient が有効になっていないことを確認します。
        • HeadersAdd X-Gm-Spam and X-Gm-Phishy headers を選択します。
        • SAVE を選択します。
  8. Account types to affectUsersGroups を選択します。
  9. SAVE を選択します。

BCC ルールが正しく設定されたことを確認するには:

  1. Cloudflare OneEmail security > Settings を開きます。
  2. Domains > View を選択します。
  3. ドメインを探します。Status に Active と表示されていれば、BCC ルールは正しく設定され、メールフローが検出されています。

役に立ちましたか?