Exchange Transport Agent Causes Failure Event in Transport Logs

Hello,

I have developed a custom transport agent.  I am receiving a FAIL event each time the agent runs.  The Recipient Status in the Message Tracking Log entry has the following text:

: {[{LRT=};{LED=550 4.3.2 QUEUE.TransportAgent; message deleted by transport agent};{FQDN=};{IP=}]}

The messages are delivered without issue and are processed by the agent correctly as well.  It is not clear to me why this error is occurring.  I have gone as far as disabling the code that actually alters the message by commenting it out an re-compiling the agent.

Any ideas on what might be causing this kind of behavior.  Do I need to provide a return code from my agent that the logs would then read?

The complete tracking log entry is below.

Thanks

RunspaceId              : c8761fd4-04a1-48d9-85bd-96d6beee2cd6
Timestamp               : 7/15/2015 9:10:58 PM
ClientIp                :
ClientHostname          : exchangeserver-01
ServerIp                :
ServerHostname          :
SourceContext           : My Custom Agent
ConnectorId             :
Source                  : AGENT
EventId                 : FAIL
InternalMessageId       : 11373073399823
MessageId               : <9560055728464c81b368b3c607c30ae6@exchangeserver-01.mydomain.com>
Recipients              : {me@mydomain.com}
RecipientStatus         : {[{LRT=};{LED=550 4.3.2 QUEUE.TransportAgent; message deleted by transport
                          agent};{FQDN=};{IP=}]}
TotalBytes              : 9638
RecipientCount          : 1
RelatedRecipientAddress :
Reference               :
MessageSubject          : test message 2
Sender                  : someone@theirdomain.com
ReturnPath              : someone@theirdomain.com
Directionality          : Incoming
TenantId                :
OriginalClientIp        :
MessageInfo             : 2015-07-16T01:10:58.411Z;SRV=exchangeserver-01.mydomain.com:TOTAL-FE=0.203;SRV=exchan
                          geserver-01.mydomain.com:TOTAL-HUB=0.156;CAT|CATSM|CATSM-My Custom Agent
MessageLatency          :
MessageLatencyType      : None
EventData               : {[E2ELatency, 0.333], [DeliveryPriority, Normal], [AccountForest, mydomain.com]}

July 15th, 2015 10:00pm

As a first step I would suggest you enable Pipeline tracing https://technet.microsoft.com/en-us/library/bb125018%28v=exchg.150%29.aspx and then look through the logs that its generates it should tell you why this is happening.

Cheers
Glen

Free Windows Admin Tool Kit Click here and download it now
July 16th, 2015 12:46am

Hello,

I actually expect the message to be deleted.  What I was after is a way to add useful information to the tracking logs for the action that the agent is taking rather than having the Tracking Logs Suggest that there is a problem.

Ideally I would like to write useful information from the transport agent into the EventData property in the tracking log.

Thanks

August 7th, 2015 9:58pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics