Exchange 2010 with ip block list providers using custom error message and Get-Agentlog Exchange Shell cmdlet conflict.

When ip block list providers are configured the standard error message for rejected messages in the Agentlog log field 'SmtpResponse' contains '550 5.7.1' at the beginning of the message.

When ip block list providers are configured the custom error message for rejected messages in the Agentlog log field 'SmtpResponse' contains '550-5.7.1' at the beginning of the message.

The Get-Agentlog powershell cmdlet in the Powershell Exchange Management Shell throws an exception on the customized log records as below and the record is skipped by the Get-Agent cmdlet.

The SMTP response at line 213 in file "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\AgentLog\AgentLog20150406-1.LOG" isn't formatted according to RFC 2821.
Parameter name: smtpResponse
    + CategoryInfo          : InvalidArgument: (:) [Get-AgentLog], ArgumentException
    + FullyQualifiedErrorId : 78B82C6B,Microsoft.Exchange.Management.AgentLog.GetAgentLog

This behavior prevents the use of the Exchange Management Shell Get-Agentlog cmdlet in the processing of the Exchange Agentlog files. Is this behavior by design? I would like to use both custom error messages and the Get_Agentlog cmdlet.

Thanks in advance.


April 6th, 2015 10:56pm

Hi,

Based on your description, it seems that this question is more related to Exchange, I will move it to the Exchange forum and thanks for your understanding and support.

Best regards,

Susie

Free Windows Admin Tool Kit Click here and download it now
April 8th, 2015 9:01am

Hello,

Yes, Connection Filter reports LocalBlackList and "entry created by administrator". This is a clear indication that the Remote IP is configured in the static IP Block list

Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

 

April 9th, 2015 8:07am

Hi,

Is there any update on this thread?


Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

 

Free Windows Admin Tool Kit Click here and download it now
April 13th, 2015 5:33am

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

Other recent topics Other recent topics