Forum Discussion
[Server Buld 20303.1] IIS 6 Manager crashes trying to edit SMTP Virtual Server Properties
- Nov 10, 2022We found that doing the following worked, and can now edit the settings in the II6 Manager without errors (and without crashing when applying settings) every time:
Stop SMTPSVC service [Display Name: Simple Mail Transfer Protocol (SMTP)]
Stop IISADMIN service [Display name: IIS Admin Service]
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".
Source: https://serverfault.com/questions/1088555/server-2022-smtp-server-issue
The depreciation of a feature isn't being handled properly. What should happen:
In a given release notes a warning should be given:
Please note that this feature is depreciated and may be removed in a future release.
or
In Windows Server 2012 R2 the SMTP feature was depreciated. It has been removed in this release.
Until it is actually removed it should be maintained. Failure to fix bugs using the excuse that it is depreciated is just a excuse for poor product management. If you include it in the product then you should maintain it.
SMTP was 'Deprecated' in Windows Server 2012, see the following link:
SMTP was included up through Windows Server 2022, and will be 'Removed' in Windows Server vNext. You will see that SMTP has been removed in current builds in Windows Server Insiders.
Thank you for reporting this issue with IIS6 Manager crashing. The IIS development team has been made aware of this thread and is investigating.
Thanks!!
Elden Christensen
Principal Group PM Manager
Windows Server Development Team
- HannesPreishuberCEONov 14, 2023Copper Contributor
please dont do that- every - really every piece of software - here in my company - is using SMTP Service. Code running since 20 years!