Is there a way to verify that the Exchange 2013 server is still using the other SMTP connectors that have been setup?


These SMTP connectors were setup before my time with the organization and I would like to retire them.  I have tried utilizing the Message Tracking tool but with no valid information.  Please advise.  

Thanks in advance.
LVL 11
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AmitIT ArchitectCommented:
Use pipeline tracing:

Or just disable the connector and wait for sometime, if no issue reported, you can remove them.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gary DewrellSenior Network AdministratorCommented:
You can use messagetracking log to list the connectors in use.

get-messagetrackinglog -start 09/22/2016 -ResultSize unlimited -eventid Send | select *connector*
g000seAuthor Commented:
Thanks for your postings.  Is there way to see when the last time traffic ran through the SMTP connectors?
Get Blueprints for Increased Customer Retention

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Gary DewrellSenior Network AdministratorCommented:
Sure. Just add the timestamp field to the select

get-messagetrackinglog -start 09/22/2016 -ResultSize unlimited -eventid Send | select *connector* , timestamp
g000seAuthor Commented:
I had tried the "get-messagetrackinglog -start 09/22/2016 -ResultSize unlimited -eventid Send | select *connector* , timestamp" for two different SMTP connectors which both had the same date/time output stamp.  I changed the timestamp to a later date but didn't see the output.  On the third run- I changed the ...-start 09/22/2016 to 6/22/2016 but only saw part of the entries.  Can I pipe the output to txt file? Thanks.
Gary DewrellSenior Network AdministratorCommented:
Sure can.

get-messagetrackinglog -start 09/22/2016 -ResultSize unlimited -eventid Send | select *connector* , timestamp | export-csv  logs.csv
g000seAuthor Commented:
When I ran the "get-messagetrackinglog -start 09/22/2016 -ResultSize unlimited -eventid Send | select *connector* , timestamp | export-csv  logs.csv", the output only shows the SMTP connector name and timestamp date.  I had tried a different SMTP connector and received the same results.  Maybe I'm overlooking something,  Is there supposed to be additional information?
Gary DewrellSenior Network AdministratorCommented:
I understood you only wanted to see the last time a connector was used. The command above will show every SMTP connector that was used since the -start date specified and what time they were used.

You probably need to take out the -start parameter, which will then show you every SMTP connector used and what time it was used as far back as you have exchange logs.

get-messagetrackinglog  -ResultSize unlimited -eventid Send | select *connector* , timestamp | export-csv  logs.csv",
AmitIT ArchitectCommented:
That is not the right method to test connector is in use or not. You should disable it and leave it for sometime. Then only you know, if it is required or not.
g000seAuthor Commented:
My bad...I had replaced the "timestamp" to the actual date.  Now when I run- get-messagetrackinglog  -ResultSize unlimited -eventid Send | select *connector* , timestamp | export-csv  logs.csv ,  I get the additional dates for the SMTP connection. Thank you!
g000seAuthor Commented:
Sorry didn't see your posting Amit until after I had posted.  When I run the command with the date of 06/22/2016,  I see entries for August and September but nothing for June or July.  So this information doesn't proved it's in use or not?
AmitIT ArchitectCommented:
As I advise, you disable the connector. I have use this method several times and it is much easy to find out, if connector is in use or not. Secondly, you can enable back in few seconds, if you encounter any issue. Back-out plan need to be always in place whenever you are doing changes on servers.
Gary DewrellSenior Network AdministratorCommented:
Your logs probably do not go back that for but at I would think if you have not seen any traffic through that connector for all of August and September it is a safe bet it is not in use.

Though Amits method would work I am not a big fan of such an approach. At least in my environment mail is very important and we try not to break it on purpose if we do not have to. :)
g000seAuthor Commented:
I tried the command method on an already disabled SMTP connector only to receive the same output results as an SMTP connector that is enabled.  It there another method other than disabling and then renable the SMTP connector?
AmitIT ArchitectCommented:
There only two method as far as I know and used, Check the logs and next step is to disable the connector to verify it is use or not. I don't see any harm in disabling it. It takes few seconds to enable back. As per change process, you should look for solution, which can be reverted ASAP and bring back business normal. Rather deleting and recreating again.
Gary DewrellSenior Network AdministratorCommented:
If a connector is already disabled it will not have any traffic and therefore will not show up in the logs.
If it has already been disabled for a while and your mail queue has not built up you should be ok leaving it disabled.
g000seAuthor Commented:
I was doing more research and was going through these logs on the Exchange server but didn't see any activity related to the SMTP connectors.

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

I rather not disable the SMTP connectors because they could be in use.  It will be disruptive.  Is there another means to pull the activity for those SMTP connectors?  Thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.