I want to run custom rules after spam protection...

Daegeun Ryu 46 Reputation points
2020-11-25T10:52:54.323+00:00

hi, everyone.

we are using o365 exchange online and EOP funtion are using too.
also i know mail flow of EOP as follows.
42667-image.png

I want to run custom rules after spam protection because redirect email before Spam check via EOP.

so, is it possible to configure it as follows?
receive mail > spam check(via EOP) > if spam insert any header code(maybe SCL number?) > mail redirect.

please help me.

Sincerely,
thank you.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,485 questions
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,599 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 147.6K Reputation points MVP
    2020-11-25T12:08:28.177+00:00

    Try setting an Outlook redirect rule to do this. If the redirect is to an external recipient, you will need to account for that:
    https://video2.skills-academy.com/en-us/microsoft-365/security/office-365-security/external-email-forwarding?view=o365-worldwide


1 additional answer

Sort by: Most helpful
  1. Lucas Liu-MSFT 6,171 Reputation points
    2020-11-26T03:26:14.427+00:00

    Hi @Daegeun Ryu ,
    According to my research and test, EOP's workflow is by design, I have not found a plan that can be changed.
    As a solution:

    1. You could set the conditions of the mail you want to redirect in the transport rule in advance, such as sender, SCL and so on.
    2. You also could create a inbox rule, this will redirect the eligible emails to the specified email address after reaching the mailbox.
    3. I agree with what Andy said, if you redirect the email to external recipient, please configure outbound spam filtering in EOP. For more information you could refer to the link provide by Andy.
      42730-1111.png

    ----------

    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.