Create mail flow rule to drop incoming email with a recipient count greater than 10

Steve Pogue 71 Reputation points
2021-03-25T19:32:30.893+00:00

Our email is hosted within Exchange Online.

The latest waves of incoming phish and spam emails seem to be sent in batches with each incoming email sent to about 50-60 of our internal users within the To: field.
I can't think of a reason why my organization would ever accept an email from outside that is addressed to more than 10 recipients.
Looked in mail flow rules to see we could block an incoming email based on the number of internal recipients on the To: field
Did not find anything.

I have been working with SPAM issues for over 25 years. Don't need advice on reducing SPAM.
We have O365 ATP SPAM policies, Phish Policies SafeLinks, SafeAttachments.
None of the above will protect you when you receive a 0 hour 0 day targeted email based threat that is addressed to dozens of your internal users.
You try and hide your internal email addresses but over time, the crooks build inventories of your email addresses.
We have been receiving targeted emails addressed to 50+ internal valid recipients.
need a way to drop emails based on the number of recipients within X-MS-Exchange-Organization-OriginalEnvelopeRecipients: field or the length of that field.

Spam scores are usually 0 and the X-MS-Exchange-Organization-OriginalEnvelopeRecipients: looks something like this:

X-MS-Exchange-Organization-SpamScore: 0
X-Microsoft-Antispam: BCL:0;

X-MS-Exchange-Organization-OriginalEnvelopeRecipients: =?us-ascii?Q?jswea@tward@iaiworks.com .com;jbyv@tward@iaiworks.com ?=
=?us-ascii?Q?.com;?=81849-originalenvelope.png

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,892 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lucas Liu-MSFT 6,191 Reputation points
    2021-03-26T04:10:08.887+00:00

    Hi @Steve Pogue ,
    According to my research, we cannot limit the number of recipients included in the received mail through mail flow. In the "To" column, we can specify specific recipients or recipients that contain specific information. And if you delete the mail according to the number of recipients, it is easy to accidentally delete the mail.

    For mail restrictions, we can only pass “Message size limit”,” Message header size limit”, “Subject length limit”, “File attachments limit”, “File attachment size limit” “Multipart message limit” and “Embedded message depth limit”. For more information please refer to: Message limits

    About this issue:

    1. Please make sure that SPF, DKIM and DMARC are set correctly. These DNS records will help protect you from spam.
      For more information: Set up SPF to help prevent spoofing
    2. EOP will helps protect your organization against spam and malware. Are there any similarities among spammers? For example, sending address, sender IP, etc. If so, we can block the incoming spam by creating a block list of senders.
      For more information: Create blocked sender lists in EOP

    ----------

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.