There's more...

You can configure protocol logging to record the SMTP conversations between your Mailbox servers and other mail servers or clients. Protocol logging can be enabled on a per connector basis, but just like the connectivity logging options, the configuration of the protocol log file settings is made using the Set-TransportService cmdlet. The following screenshot shows these available properties:

Here, you can see that we've got protocol log settings for receive connectors. The settings shown here are the default values.

The send connectors will use the following protocol log configurations by default:

Just like connectivity logs, ...

Get Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.