Analysing smtp protocol logs for receive connector

Surya kumar 340 Reputation points
2023-06-14T09:51:26.9366667+00:00

Hi,

As per the Microsoft documentation, the logs will be stored in the prescribed path : https://video2.skills-academy.com/en-us/exchange/mail-flow/connectors/protocol-logging?view=exchserver-2019 

Can you help me by clarifying few doubts:

  1. Is it possible to fetch SMTP protocol log via PowerShell like used to be for message tracking logs ?
  2. The SMTP protocol log file is overwhelming. Is there any way to filter or any tool is recommended for better view?
  3. Instead of going through timestamp in smtp protocol log, do we have a way for filtering the log using sender and recipient address?
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,573 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
510 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,055 questions
{count} votes

Accepted answer
  1. Andy David - MVP 147.3K Reputation points MVP
    2023-06-14T11:32:08.67+00:00

    I use a text editor and just filter that way. You can then search for whatever sender or recipient you want, you dont have to search by timestamp.

    Some recommend Log Parser, though it may be overkill:

    https://supertekboy.com/2020/03/23/use-log-parser-studio-in-your-exchange-office-365-migration-planning/

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 147.3K Reputation points MVP
    2023-06-16T12:21:37.3566667+00:00

    If you want to use Powershell. Example:

    https://adamtheautomator.com/powershell-get-content/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.