SmtpDisableRelay Metabase Property
Applies To: Windows Server 2003, Windows Server 2003 with SP1
The SmtpDisableRelay property controls whether mail may be relayed. Note that the Boolean flag value is reversed.
Attribute Name | Attribute Value |
---|---|
XML Data Type |
Boolean |
WMI Data Type |
Boolean |
ADSI Data Type |
Boolean |
ABO Data Type |
Boolean |
ABO Metabase Identifier |
No friendly name is defined for this identifier in iiscnfg.h. Search the systemroot\System32\Inetsrv\MBSchema.xml file for this property and use the integer from its ID attribute. |
Attributes |
INHERIT |
Default Value |
true |
MetaFlagsEx |
CACHE_PROPERTY_MODIFIED |
User Type |
IIS_MD_UT_SERVER |
ID |
36974 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/SMTPSVC |
IIsSmtpService |
/LM/SMTPSVC/n |
IIsSmtpServer |
Code Example
For general code examples, see Code Examples to Configure Metabase Properties.