Windows Server 2016 and 1709+ SMTP Virtual Server Discovery

Microsoft.Windows.InternetInformationServices.10.0.DiscoverLegacySMTPVirtualServers (Discovery)

Knowledge Base article:

Summary

A rule that runs on Windows Server 2016 and 1709+ computers and discovers SMTP sites. Not supported on Nano.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.LegacySMTPServer
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPVirtualServer
    • SiteID
    • Description
    • ServerBindings
    • SecureBindings
    • DefaultDomain
    • BadMailDirectory
    • PickupDirectory
    • QueueDirectory
    • LogFileDirectory
    • EnableReverseDNSLookup
    • ConnectionTimeout
    • MaxConnections
    • MaxMessageSize
    • NTAuthenticationProviders
    • RemoteSMTPPort
    • RemoteSMTPSecurePort
    • RemoteTimeout
    • LogFileType
    • LogFilePattern
    • LoggingEnabled
    • PerfCounterInstance

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.IIS.IISLegacySMTPDiscoveryDataSource.10 Default

Source Code:

<Discovery ID="Microsoft.Windows.InternetInformationServices.10.0.DiscoverLegacySMTPVirtualServers" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPServer" ConfirmDelivery="false" Remotable="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.InternetInformationServices.10.0.LegacySMTPVirtualServer">
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="SiteID"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="Description"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="ServerBindings"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="SecureBindings"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="DefaultDomain"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="BadMailDirectory"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="PickupDirectory"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="QueueDirectory"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="LogFileDirectory"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="EnableReverseDNSLookup"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="ConnectionTimeout"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="MaxConnections"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="MaxMessageSize"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="NTAuthenticationProviders"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="RemoteSMTPPort"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="RemoteSMTPSecurePort"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="RemoteTimeout"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="LogFileType"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="LogFilePattern"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="LoggingEnabled"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.SMTPVirtualServer" PropertyID="PerfCounterInstance"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.IISLegacySMTPDiscoveryDataSource.10">
<PeriodInSeconds>14400</PeriodInSeconds>
<DiscoverySourceType>0</DiscoverySourceType>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<ComputerPrincipalName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerPrincipalName>
</DataSource>
</Discovery>