Unable to setup SMTP Server on Windows Server 2022

Sep - 15 2023 | By

Microsoft SMTP Server on Windows Server 2022

When going into Internet Information Services (IIS ) 6.0 Manager and right clicking on SMTP Virtual Server #1 and choosing Properties it will display Snapin Error – MMC has detected an error in a snap-in dialog.

To get around this problem and to be able to setup SMTP follow these steps:

  1. Stop IIS Admin Service and Simple Mail Transport Protocol (SMTP) in Services
  2. Edit C:\Windows\System32\inetsrv\MetaBase.xml with notepad
  3. Look for <IIsSmtpServer Location =”/LM/SmtpSvc/1″
  4. In the alphabetical list of settings if you do not see a line RelayIpList=”” insert that into the file save and start IIS Admin Service and Simple Mail Transport Protocol (SMTP).
    If there is already and RelayIpList=”003″ (shortened for example) cut the long numeric value there so it only reads RelayIpList=”” and save the file, then start IIS Admin Service and Simple Mail Transport Protocol (SMTP).
  5. Reopen Internet Information Services (IIS) 6.0 Manger and you should now be able to open the properties for SMTP Virtual Server #1.