共用方式為


在已設定傳輸規則的 Exchange 環境中,郵件傳遞速度變慢

原始 KB 編號: 3145489

徵狀

請試想下列案例:

  • 您使用的是已設定傳輸規則的 Microsoft Exchange Server 實例。

  • 一或多個傳輸規則包含下列一或多個條件:

    • AnyOfRecipientAddressMatchesPatterns
    • ExceptIfAnyOfRecipientAddressMatchesPatterns
    • FromAddressMatchesPatterns
    • RecipientAddressMatchesPatterns
  • 當您將電子郵件訊息傳送至大型收件者清單時,您會注意到將郵件傳遞給某些使用者的延遲很長。

  • 您可能會在中樞傳輸伺服器的應用程式記錄檔中看到下列事件:

    Time: DATE TIME
    ID: 1050
    Level: Warning
    Source: MSExchange Extensibility
    Machine: COMPUTER NAME
    Message: The execution time of agent 'Transport Rule Agent' exceeded 90000 milliseconds while handling
    event 'OnRoutedMessage' for message with InternetMessageId: 'Not Available'. This is an unusual amount
    of time for an agent to process a single event. However, Transport will continue processing this message.
    

原因

之所以發生此問題,是因為訊息在透過伺服器上的傳輸規則處理時,會在分類器中保留很長的時間。 這種情況是由包含「比對模式」條件的規則所造成。 此條件牽涉到複雜且密集的程式。 您可以檢查訊息追蹤記錄來確認程式在分類器傳輸規則代理程式中長時間保留,以確認這種情況,如下列範例記錄專案所示:

MessageLatency : 06:26:14.9940000
MessageLatencyType : EndToEnd
ComponentServerFqdn : COMPUTER NAME
ComponentCode : CATRT-Transport Rule Agent
ComponentName : Categorizer OnRoutedMessage-Transport Rule Agent
ComponentLatency : 00:48:59
ComponentSequenceNumber : 2

注意事項

即使是未傳送至大型收件者清單的郵件,也可能在分類器中保留很長的時間,並延遲傳遞。 因此,這類訊息也可能會對使用者造成問題。

解決方案

若要解決此問題,請避免使用「比對模式」條件。 請改用 「包含 Word」,因為此條件會擷取您想要在傳輸規則中尋找的文字字串。 這可大幅降低處理訊息所需的運算能力,也可減少環境中訊息的延遲。