Logging SMTP Protocol Activity in Exchange 2007 / 2010

Enable protocol logging on a Receive Connector

Set-ReceiveConnector “Connector Name” -ProtocolLoggingLevel verbose

Receive Connector logs default path:

  • Exchange 2010: \Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive
  • Exchange 2007: \Exchange Server\TransportRoles\Logs\ProtocolLog\SmtpReceive

To change:

Set-TransportServer “TRANSPORT SERVER NAME” -ReceiveProtocolLogPath “C:\Directory”

Enable protocol logging on a Send Connector

Set-SendConnector “Send Connector Name” -ProtocolLoggingLevel verbose

Send Connector logs default path:

  • Exchange 2010: \Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpSend
  • Exchange 2007: \Exchange Server\TransportRoles\Logs\ProtocolLog\SmtpSend

To change:

 Set-TransportServer “TRANSPORT SERVER NAME” -SendProtocolLogPath “C:\Directory”

Lync Server Installation Error: Prerequisite installation failed: Wmf2008R2

This WMF package has changed for Windows Server 2008 R2 SP1.
Run from an elevated command window:

%systemroot%\system32\dism.exe /online /add-package /packagepath:%windir%\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.mum /ignorecheck

(…or the correct version!)

Reboot.

Rerun Components install.

Exchange 2010 DAG: AddClusterNode() failed with 0x80070005. Error: Access is denied.

If the witness server you specify isn’t an Exchange 2013 Preview or Exchange 2010 server, you must add the Exchange Trusted Subsystem universal security group to the local Administrators group on the witness server. These security permissions are necessary to ensure that Exchange can create a directory and share on the witness server as needed. If the proper permissions aren’t configured, the following error is returned:
Error: An error occurred during discovery of the database availability group topology. Error: An error occurred while attempting a cluster operation. Error: Cluster API “AddClusterNode() (MaxPercentage=12) failed with 0x80070005. Error: Access is denied.”

Update: you must add the Exchange Trusted Subsystem universal security group to the local Administrators group on the source database server.

Swap SMTP banner in Exchange 2010 from PowerShell

Replace the internal name to the correct server for designation:

Set-ReceiveConnector "connector" -Banner "220 real_name_of_server"

real_name_of_server : reverse DNS name of mail server (for example: mail.firm.com). In any case be the top 220, RFC!

Operations Manager 2007 R2 : DNS 2008/R2 Forwarder Availability Alert

Eeither changing it to a NS for microsoft.com or making it an A record for www.microsoft.com for instance would work. If of course this dns server is allowed to run the external dns resolving queries. If you are not interested in this you can either use an A record and point to internal resource name or turn it off.