How to stop auto forwarding to specific recipiant domain such as gmail

Pongsatorn Laohavijitchan 6 Reputation points
2020-10-31T06:34:50.417+00:00

I use O365 and I need stop auto forwarding auto forwarding to specific recipiant domain such as gmail but other domain should be allow following this scenario:

Sender: person1@externaldomain.com
Recipiant: person2@mydomain.com ***He configured auto forwarding to person2@Stuff .com
Mail has been block.

Sender: person1@externaldomain.com
Recipiant: person2@mydomain.com ***He configured auto forwarding to person2@Karima ben .com
Mail has been block also.

Note: I already configure mail flow rule following kb: https://support.microsoft.com/en-us/office/stop-auto-forwarding-emails-in-microsoft-365-f9d693ba-5c78-47c0-b156-8e461e062aa7 but not working

On Outbound spam filter policy, Need to change auto forwarding or not ?

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,358 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Vasil Michev 95,666 Reputation points MVP
    2020-10-31T07:40:03.697+00:00

    Use the Remote domain settings - add a remote domain for gmail.com first, then adjust the AutoForwardEnabled value:

    Set-RemoteDomain gmail.com -AutoForwardEnabled $false  
    

    More info here: https://learn.microsoft.com/en-us/powershell/module/exchange/set-remotedomain?view=exchange-ps

    2 people found this answer helpful.
    0 comments No comments

  2. Yuki Sun-MSFT 40,866 Reputation points
    2020-11-02T07:19:35.23+00:00

    Hi @Pongsatorn Laohavijitchan ,

    On Outbound spam filter policy, Need to change auto forwarding or not ?

    Are you able to auto forward to any external recipient domain right now? If this is the case, there is no need to change the Outbound spam filter policy and agree with michev that you can add a remote domain for the the external domain and disable its AutoForward using the cmdlet shared by michev or via the Exchange Admin Center:
    36629-02.png

    I've tested it in my lab and it works at my end. Please have a go and feel free to post back with any update.


    If an Answer 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.