Hi, @Sokoban
Have you tried the following methods?
- Stop SMTPSVC service [Display Name: Simple Mail Transfer Protocol (SMTP)]. How to stop SMTP.
- Stop IISADMIN service [Display name: IIS Admin Service]. How to stop IISADMIN.
- Edit "C:\Windows\System32\inetsrv\MetaBase.xml"
- Find: <IIsSmtpServer Location ="/LM/SmtpSvc/1"
- Add (Settings are alphabetical): RelayIpList=""
-
- Save file
- Start IISAdmin Service
- 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.