このページでは、Google 管理コンソールで BCC ルールを追加する手順を説明します。
BCC は Blind Carbon Copy(ブラインドカーボンコピー)の略です。BCC ルールは Google Workspace の機能で、選択した送信メールと受信メールの安全なコピーを作成できます。Email Security がメールのコピーを受け取れるようにすると、Cloudflare は配信後の分析を行い、受信トレイを保護できます。
BCC ルールを追加するには:
- Google 管理コンソール ↗ にログインします。
- サイドバーで Apps > Google Workspace > Gmail > Compliance を開きます。
- Content Compliance に進み、Edit を選択します。
- Content Compliance フィルターを追加し、名前を
Email security - BCCにします。 - Email messages to affect で Inbound を選択します。
- 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 を選択します。
- Location で Headers + Body を選択します。
- Match type で Matches regex を選択します。
- Regexp に
.*を入力します。正規表現は必要に応じてカスタマイズでき、管理ページや Regexr ↗ などのサイトでテストできます。 - SAVE を選択します。
- If the above expressions match, do the following で次を設定します。
- Modify message を選択します。
- 意図せずメールが破棄されないよう、Envelope recipient > Change envelope recipient が未選択であることを確認します。このオプションは後の手順で選択します。
- Also deliver to に進み、Add more recipients > ADD を選択し、Advanced を選びます。
- Envelope recipient で Change envelope recipient > Replace recipient を選択し、サービスアドレスを入力します。これは、ドメインを接続する ときの手順 5 でコピーしたサービスアドレスです。
サービスアドレスをコピーしていない場合は、次の手順で確認します。
- Cloudflare One ↗ で Email security を開きます。
- Settings に進み、Your domains でドメインを探します。
- 三点リーダー > View domain > Service address を選択し、サービスアドレスをコピーします。
- Spam and delivery options で、Suppress bounces from this recipient が有効になっていないことを確認します。
- Headers で Add X-Gm-Spam and X-Gm-Phishy headers を選択します。
- SAVE を選択します。
- Envelope recipient で Change envelope recipient > Replace recipient を選択し、サービスアドレスを入力します。これは、ドメインを接続する ときの手順 5 でコピーしたサービスアドレスです。
サービスアドレスをコピーしていない場合は、次の手順で確認します。
- Modify message を選択します。
- Account types to affect で Users と Groups を選択します。
- SAVE を選択します。
BCC ルールが正しく設定されたことを確認するには:
- Cloudflare One ↗ で Email security > Settings を開きます。
- Domains > View を選択します。
- ドメインを探します。Status に Active と表示されていれば、BCC ルールは正しく設定され、メールフローが検出されています。