The MSExchange Transport service may crash intermittently on the Exchange 2007 server

Article translations Article translations
Article ID: 957071 - View products that this article applies to.
Expand all | Collapse all


After you enable "Address Rewrite Outbound Agent" on an Exchange 2007 server that has Edge server role installed, the MSExchange Transport service may crash intermittently on the Exchange 2007 server. Additionally, the following error is logged in the Application log:
Event Type: Error 
Event Source: MSExchange Common 
Event Category: General  
Event ID: 4999 
Watson report about to be sent to dw20.exe for process id: 3680, with parameters: E12, RTL-AMD64, 08.01.0311.000, edgetransport,  M.E.M.EdgeAgents, M.E.M.A.RewriteHelper.IsSenderInternal, System.NullReferenceException, e689, 08.01.0311.000.  ErrorReportingEnabled:  True
Event Type: Error 
Event Source: MSExchangeTransport 
Event Category: PoisonMessage  
Event ID: 10003 
The transport process failed during message processing with the following call stack: System.NullReferenceException: Object reference not  set to an instance of an object. 
   at Microsoft.Exchange.MessagingPolicies.AddressRewrite.RewriteHelper.IsSenderInternal(MailItem mailItem, SmtpServer server)
   at Microsoft.Exchange.MessagingPolicies.AddressRewrite.AgentOutbound.RewriteMessage(RoutedMessageEventSource source,  QueuedMessageEventArgs args)  
   at Microsoft.Exchange.Data.Transport.Routing.RoutingAgent.Invoke(String eventTopic, Object source, Object e) 
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.Dispatcher.Invoke(MExSession session) 
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.AsyncInvoke(Object state) 
   at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.BeginInvoke(String topic, Object source, Object e, AsyncCallback  callback, Object callbackState) 
   at Microsoft.Exchange.Transport.Categorizer.MExEvents.RaiseEvent(MExSession mexSession, String eventTopic, AsyncCallback callback,  Object state, Object[] contexts) 
   at Microsoft.Exchange.Transport.Categorizer.MExEvents.RaiseOnRoutedMessage(TaskContext context, AsyncCallback callback, MailItem  mailItem) 
   at Microsoft.Exchange.Transport.Categorizer.CategorizerComponent.Stage5OnRoutedMessage(TransportMailItem transportMailItem,  TaskContext taskContext)
   at Microsoft.Exchange.Transport.Categorizer.TaskContext.Invoke() 
   at Microsoft.Exchange.Transport.Categorizer.CatScheduler.JobThreadEntry(Object ignored) 
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack) 
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)


In the address rewrite progress, if the sender e-mail address is empty in the message envelope (P1 head), Exchange server will try to use P2 head to decide whether the message is sent by an internal sender. However, P2 head is null that results in the exception.

Note Each Internet mail message contains two portions: the RFC 2821 portion, which is also known as the P1 header, and the RFC 2822 portion, which is also known as the P2 body. P1 head is that the sender's address in the "MAIL FROM" field during the SMTP connection that is defined in RFC 2821. P2 head is the sender's address in the message body that is defined in RFC 2822. It includes the FROM, REPLY TO and SENDER fields.


To resolve this problem, install Update Rollup 7 for Exchange 2007 Service Pack 1. For more information about Update Rollup 7 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic:
Description of Update Rollup 7 for Exchange Server 2007 Service Pack 1
For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007


For more information about address rewriting, visit the following Web site:
For more information about the glossary that helps you explain the core concepts and technologies that are associated with Microsoft Exchange Server 2007, visit the following Web site:


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Article ID: 957071 - Last Review: March 18, 2009 - Revision: 1.1
  • Microsoft Exchange Server 2007 Service Pack 1, when used with:
    • Microsoft Exchange Server 2007 Standard Edition
    • Microsoft Exchange Server 2007 Enterprise Edition
kbexpertiseadvanced kbsurveynew kbhotfixrollup kbqfe KB957071

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from