[Server Buld 20303.1] IIS 6 Manager crashes trying to edit SMTP Virtual Server Properties

Contributor

I have installed 20303.1 and added the SMTP Service and add the management tools.

 

 

 

Install-WindowsFeature SMTP-Server -IncludeManagementTools

 

 

 

After the installation, I bring up the IIS 6 Management Console.

If I right-click the [SMTP Virtual Server] node and select properties, I get an error like this:

2021-03-16_20-20-52.png

Clues?

18 Replies
Hello, the SMTP stack and management tools have been deprecated since Windows Server 2012 and will soon be removed from Windows Server 2022. Please refer to this article: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh...)

SMTP and the associated management tools are deprecated. Though the functionality is still available in Windows Server 2012, you should begin using System.Net.Smtp.

Kevin Shaughnessy
Sr. Program Manager
Microsoft Exchange Transport
First, that article gives me a 404. Can you check it?

Also, how do we relay mail with System.SMTP.Mail? :)
My use case is that I want to relay local mail from FSRM which uses unauthenticated SMTP. With Server 2019, I set up a relay on localhost, then relay to my account at SendMail.Org to send on to the real account. It works a treat. Can you suggest an alternative way to achieve these FSRM email reports?
Sorry about that. Try this: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh...). You'd have to write an application using System.SMTP.Mail or update an existing app to use it. MailKit is another popular SMTP set of services - still requires coding though. Other alternatives include turboSMTP (https://www.serversmtp.com/smtp-for-windows/), a popular SMTP service for Windows that doesn't require coding.
Hmm. That link was good but posting it somehow made it invalid, apparently by stripping the last parenthesis off it. Try copy/pasting this into your address bar then add the "https://" prefix to it: docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831568(v=ws.11)

@KevinShaughnessy 

Well, that's fine it was deprecated, so what's the purpose of letting the feature SMTP to be installed on Windows Server 2022, if you can't manage it anymore.

Was my fault not reading this before, now I'm rolling back to 2019.

@NunoTex Sorry for the troubles. The management bug came about separately / unrelated to the deprecation of the SMTP stack. It should have still worked so long as the SMTP stack shipped in Windows but apparently some updates to the management console caused a regression/bug here. Deprecation (when we no longer officially support something / use at your own risk) usually happens well in advance of removal (e.g. several years). In this case, due to the strategic shift at Microsoft to cloud services the backlog item to remove the SMTP stack from Windows was deprioritized much longer than originally expected. 

@KevinShaughnessy 

Ok, fair enough, at least you gave some honest feedback :smiling_face_with_smiling_eyes:

In meantime I rollback to 2019, since I needed the server ASAP.

Will see what solution can be used to replace this entirely.

This is a terrible move! A lot of us still utilize this feature heavily, if anything, it should be updated. Everything can't be pointed to 365, this will force customers to evaluate 3rd party smtp software now.

@KevinShaughnessy  Pause the service, then edit what you need, then start it.  In addition to crashing when editing, my smtp server crashes any time I connect to it too.

@Maverickx AGREE! That SMTP server is a useful utility that we use heavily. Rolling back to 2019 ASAP.

 

Microsoft: At least consider open sourcing this. We use it as our core SMTP engine and we do not want or need to get a new service or app. 365 and Azure are not alternatives for self-hosted SMTP.

@phollows 

After  trying all things listed here, I found that stopping the Relay service in IIS and running the IIS 6 console as the administrator, allowed me to get in and configure it in Server 2022 Datacenter.

 

EDIT: However it still doesn't work after configuring it, the SMTP Service stops when it receives a message. 

 

So what is a good light weight relay I can go get ?

 

Thanks Chris

I just downgraded to Server 2019 which works fine. Till it goes EOL, I have a fine SMTP relay VM that I use.

@KevinShaughnessy 

 

SharePoint Server 2019 and SharePoint Server Subscription Edition are supported for Windows Server 2022 and SharePoint required SMTP Service to receive e-mails.

 

If the SMTP service is removed then the information for SharePoint 2019 and SE is not correct.

 

Software requirements for SharePoint Servers for SharePoint Server Subscription Edition - SharePoint...

This doesn't work for me as MMC doesn't work ("MMC has detected an error in a snap-in. It is recomended that you shut down and restart MMC.) and trying all of the remedies on the internet don't fix it. Back to 2019 I guess.
Hello Kevin, could you please check with the server docs team, they should include this warning on this page please. Hi @406979

https://docs.microsoft.com/en-us/windows-server/get-started/removed-deprecated-features-windows-serv...

The 2012/2012R2 could be referenced but they are not much visible in the ToC,

Clarification, SMTP was 'Deprecated' in Windows Server 2012:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh...

SMTP is included all the way up through (including) Windows Server 2022.

However SMTP has been 'Removed' for the next release of Windows Server, and you will see this change has been made that SMTP is no longer available in the current Windows Server Insider preview builds.

Thanks!
Elden