exchange 2013 message tracking on relay connector

exchange 2013.

I have relay connector to allow our AS400 and various copier\printers to forward email through exchange.

if I go to mail flow-receive connectors and check on the relay filter, it shows Logging -On.

but when running powershell commands to track messages going out to particular email address, it does not seem to return any of the emails going through the connector.

emails our people are sending via outlook are showing up, but none of the emails through the connector do.

is there another place I need to turn on logging, or something additional I need to do?

below is example of my powershell command

Get-MessageTrackingLog -Start "03/01/15 00:00:00" -End

"05/19/15 23:59:59" -Recipient "blah@blah.net" | select

sender, recipient, timestamp, messagesubject, totalbytes | export-csv

c:\scripts\messlog1.csv

May 21st, 2015 8:05am

Hi ,

On the receive connector you would be having the option called "Remote Network Settings" there you can have the individual ip address of your copiers and printers to relay emails via exchange .Once it done then the exchange server will prefer that receive connector to receive emails from application servers.

I thought right now you would be having the entire ip range on your relay conn

Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 8:22am

under SCOPING I have the IP addresses of the devices allowed to relay through exchange, and under IP Addresses is the IP address of the relay connector.

but the issue is, when running message tracking in powershell, I am not returning results for emails coming from the IP addresses under SCOPING.

I know the connector is working, but need to see it in message tracking results.

May 21st, 2015 8:30am

Hi ,

Just run the below mentioned message tracking command to find out the orginating client ip and connector id .So that you can find out that your copiers and printers are using the relay connector or not.

Get-TransportService | Get-MessageTrackingLog -Sender "nithyanandham.s@abc.com" -ResultSize unlimited -MessageSubject "test" | Select-Object eventid,sender,timestamp,OriginalClientIp,connectorid,@{Name="Recipients";Expression={$_.recipients}},@{Name="RecipientStatus";Expression={$_.recipientstatus}},messagesubject | Export-csv c:\nithya.csv
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 9:27am

under SCOPING I have the IP addresses of the devices allowed to relay through exchange, and under IP Addresses is the IP address of the relay connector.

but the issue is, when running message tracking in powershell, I am not returning results for emails coming from the IP addresses under SCOPING.

I know the connector is working, but need to see it in message tracking results.

May 21st, 2015 12:28pm

under SCOPING I have the IP addresses of the devices allowed to relay through exchange, and under IP Addresses is the IP address of the relay connector.

but the issue is, when running message tracking in powershell, I am not returning results for emails coming from the IP addresses under SCOPING.

I know the connector is working, but need to see it in message tracking results.

Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 12:28pm

I Would like to know if the above suggested PS helps you to resolve the issue.

By the way, when need to track email flow into Exchange 2013, this automated solution (http://www.exchangereports.net/) could also be a good alternative approach that helps to track email flows into real time.

May 22nd, 2015 3:11am

Hi,

I understand your relay connector didnt work.

Please run the command to check the connector  configuration  :

Get-ReceiveConnector "Relay Connector name" | Format-List

Then you can enable or disable protocol logging for the intra-organization Send connector by using the IntraOrgConnectorProtocolLoggingLevel parameter on the Set-TransportServer cmdlet.

Please check the path to collect the protoco logs :

C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive

For detailed information about  protocol logging, please refer to :

https://technet.microsoft.com/en-us/library/aa997624(v=exchg.141).aspx

regards,

David 


Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2015 5:38am

that helped me track the message through the connector, many thanks.

gary

May 22nd, 2015 2:08pm

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

Other recent topics Other recent topics