SMTP Server - Error

Sokoban 991 Reputation points
2023-03-02T16:27:43.41+00:00

Hi

I trying to install and setup a SMTP Server but I got error message, se images .

I have try to re-installed SMTP Server features and I got same error.

The error comes when I trying to select properties on SMTP Virtual Server.

SMTPError1

SMTPError2

How can I do to fix that ?

Please help me

// Sokoban

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,103 questions
0 comments No comments
{count} votes

Accepted answer
  1. TengFeiXie-MSFT 341 Reputation points
    2023-03-03T07:02:08.42+00:00

    Hi, @Sokoban

    Have you tried the following methods?

    1. Stop SMTPSVC service [Display Name: Simple Mail Transfer Protocol (SMTP)]. How to stop SMTP.
    2. Stop IISADMIN service [Display name: IIS Admin Service]. How to stop IISADMIN.
    3. Edit "C:\Windows\System32\inetsrv\MetaBase.xml"
    4. Find: <IIsSmtpServer Location ="/LM/SmtpSvc/1"
    5. Add (Settings are alphabetical): RelayIpList=""
      1. Save file
    6. Start IISAdmin Service
    7. Start SMTPSVC service

    You can now open the Internet Information Services (IIS) 6.0 Manager (InetMgr6.exe) and work like normal. The setting above relates to the Access Tab > Relay Restrictions section, but doesn't set anything in it (i.e. "all except the below list" with a blank list).

    After setting this value you can change it to what you need it to be. (i.e. the value doesn't need to be 'null' for the fix to work, just so long as the variable is present in the file).

    The above has been tested on a few new installs of Windows Server 2022, and has worked for us every time. If you have done an upgrade there are some other things to consider (seems like the SMTP service is not installed after upgrade so will require a backup of the settings that can be applied post reinstalling the service. But that is discussed in other topics).

    PS: Remember to set the SMTPSVC service to start "automatically". By default its set to "manual".

    Similar case refer to: https://learn.microsoft.com/en-us/answers/questions/871780/mmc-has-detected-an-error-in-a-snap-in-it-is-recom

    Source: https://serverfault.com/questions/1088555/server-2022-smtp-server-issue

    Best Regard,

    TengFei Xie


    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sokoban 991 Reputation points
    2023-03-03T08:20:01.7666667+00:00

    @TengFeiXie-MSFT

    Very Thank you , Its working in my Windows Server 2022.

    Have a nice day :-)

    0 comments No comments