IIS - second SMTP virtual server

Radek Ryšan 31 Reputation points
2022-11-23T12:39:29.463+00:00

Hello,
I installed the IIS role and the SMTP server function on Windows Server 2022. Everything went well (we solved the mmc console error). I configured the SMTP Virtual Server generated by the first installation.
I added a second IP address to the server and installed a second virtual SMTP server in the IIS service. Unfortunately, this server is installed and can be started, but any settings are not possible. It reports an error for every management operation: The system cannot find the path specified.
I've tried removing the whole IIS installation, creating more Smtp servers and still nothing...
Does anyone know what's up with that?

Best regards
Radek R

Internet Information Services
{count} votes

4 answers

Sort by: Most helpful
  1. Yoganathan Sivaram 10 Reputation points
    2023-01-11T22:38:57.1133333+00:00

    Hi,

    We had the same issue as well and managed to resolve as follows

    1. In the metabase file below the first (i.e. /LM/SmtpSvc/1/) IIsSmtpServer node there are several other nodes such as IIsSmtpAlias, IIsSmtpDl etc.
    2. Copy all of them and replace the /LM/SmtpSvc/1/ with /LM/SmtpSvc/2/ and paste it under the second IIsSmtpServer node.
    3. Now restart The SMTP Server and it should work.

    Hope it helps someone.

    2 people found this answer helpful.

  2. Thomas Hoffmann 5 Reputation points
    2025-03-07T07:14:11.7766667+00:00

    The SMTP service is deprecated and will be removed in future versions of Windows Server. Maybe a migration to another tool should be taken into account.

    The maintenance seems to have already stopped and issues are not fixed by MS.

    1 person found this answer helpful.
    0 comments No comments

  3. Marco Rauchenstein 0 Reputation points
    2024-01-29T15:34:03.0366667+00:00

    Hi Yoganathan Sivaram Thanks a lot for your information. I was able to get rid of this annoying error following you hint. All the best, Marco


  4. WiseOldHowell 0 Reputation points
    2025-03-06T19:10:25.3233333+00:00

    I've been battling this for some time now. New Server 22 AZ VM.

    Added a second STMP server, and same error.

    Ended up copying the MetaBase.xml to the desktop, editing it in NP++, stopping IIS and SMTP service, dropping the MetaBase.xml back in after changes. (then starting the services back up... trial and error).

    Yoganathan comment is where I started.

    Here are the changes I had to make.

    I found the close of the first SMTP server [<IIsSmtpServer Location ="/LM/SmtpSvc/1"] -- i.e. "</IIsSmtpServer>"...

    then copied everything down to the close of the first server ["/LM/SmtpSvc/1/User"] -- i.e. "</IIsSmtpUser>"...

    Found the close of the second SMTP server... [<IIsSmtpServer Location ="/LM/SmtpSvc/2"] -- i.e. "</IIsSmtpServer>"

    Pasted the clipboard contents...

    Then find/replace "SmtpSvc/1" with "SmtpSvc/2".

    Hope this helps...

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.