Changes made to the mail flow in EAC do not take effect immediately

CC 0 Reputation points
2024-11-01T01:46:24.89+00:00

Recently, I have made changes of mail flow in EAC but the rules did not take effect immediately.

Sometime, I have to wait 2-3 hours or longer

How to speed up to propagate the changes and apply them across the system?

Could you provide the solutions on server setting, powershell cmd, etc.?

Thank you.

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,681 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,561 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alex Zhang-MSFT 1,915 Reputation points Microsoft Vendor
    2024-11-01T07:46:43.2766667+00:00

    Hello, @CC,

    Welcome to the Microsoft Q&A platform!

    Based on your information, I understand that you are experiencing delays in mail flow rule propagation in Exchange Admin Center. Here are some steps and tips that might help speed up the propagation process:

    1.Restart the Microsoft Exchange Transport Service: Restart the Microsoft Exchange Transport service is a common way to force an immediate update of the cache on a Mailbox server. You need to restart the service on each Mailbox server where you want with the Restart-Service MSExchangeTransport cmdlet to forcibly update the cache.

    User's image

    2.Use PowerShell to Apply Changes: Usually, making changes directly through PowerShell can be faster than using the EAC. Here are some useful cmdlets:

    a. Create a new mail flow rule

    New-TransportRule -Name "RuleName" -Priority 0 -From "user@example.com" -To "user2@example.com" -SetHeaderName "X-Header" -SetHeaderValue "Value"
    

    b. Update an existing rule

    Set-TransportRule -Identity "RuleName" -Priority 1
    

    3.Prioritize Rules: Ensure that your most critical rules have higher priority. You can set the priority when creating or updating rules.

    Set-TransportRule -Identity "RuleName" -Priority 0
    

    If the answer is helpful please click on ACCEPT ANSWER as it could help other members of the Microsoft Q&A community who have similar questions and are looking for solutions.

    Thank you for your support and understanding.

    Best Wishes,

    Alex Zhang


  2. Neuvi Jiang 1,460 Reputation points Microsoft Vendor
    2024-11-01T07:49:50.4566667+00:00

    Hi CC,

    Thank you for posting in the Q&A Forums.

    Confirm that the changes have been saved:

    Ensure that you have clicked the Save button after making changes to the mail flow rule in EAC.

    Check rule status:

    In EAC, check the status of the mail flow rules to ensure that they have been properly enabled.

    Check for any errors or warning messages that may provide clues that the rule is not in effect immediately.

    Resynchronize or refresh:

    If possible, try resynchronizing or refreshing the rule settings in EAC to ensure that the changes have been recognized and applied by the system.

    This may involve restarting certain services or waiting for the system to automatically synchronize.

    Consider system load:

    If the system load is high, it may affect the speed of rule propagation.

    Making changes during off-peak hours may reduce wait times.

    Check the priority and order of mail flow rules:

    Ensure that the priority of new rules is set correctly so that they are applied in the expected order.

    Rules with a higher priority will be processed first, so make sure your new rules are properly prioritized.

    Best regards

    NeuviJ

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

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.