Server SMTP Windows Server va in errore quando si invia un'email
Posted: 03 Feb 2024, 19:45
Durante la configurazione, quando si imposta da quale server è permesso inviare messaggi, inserendo 127.0.0.1 il servizio va in crisi, e da qual momento appena si usa il servizio SMTP questo va in crash.
Per ripristinarlo basta fare così:
From: https://serverfault.com/questions/10885 ... 77#1115477
My findings are similar to the other answers here, but it seems I needed to add a few steps (under Microsoft Windows Server 2022 Standard):
By default, I can enable SMTP and listen for connections, but when I attempt to send email to its port, the SMTP service crashes. Also, when I attempt to access Properties of [SMTP Virtual Server #1], IIS 6.0 Manager pops up this Snapin Error:
MMC has detected an error in a snap-in. It is recommended that you shut down and restart MMC.
Here is the procedure that worked for me:
Per ripristinarlo basta fare così:
From: https://serverfault.com/questions/10885 ... 77#1115477
My findings are similar to the other answers here, but it seems I needed to add a few steps (under Microsoft Windows Server 2022 Standard):
By default, I can enable SMTP and listen for connections, but when I attempt to send email to its port, the SMTP service crashes. Also, when I attempt to access Properties of [SMTP Virtual Server #1], IIS 6.0 Manager pops up this Snapin Error:
MMC has detected an error in a snap-in. It is recommended that you shut down and restart MMC.
Here is the procedure that worked for me:
- Stop the Simple Mail Transfer Protocol (SMTP) service.
- Stop the IIS Admin Service service.
- Edit (privileged session) C:\Windows\System32\inetsrv\MetaBase.xml.
- Under <IIsSmtpServer Location ="/LM/SmtpSvc/1", set RelayIpList="" as described in Andrew's answer, and save the file.
- Start the Simple Mail Transfer Protocol (SMTP) service
- Important: Now, run IIS 6.0 Manager, right-click [SMTP Virtual Server #1], click Properties, open the Access tab, click the Connection... button and click OK and then do the same with the Relay... button.
- Now click OK to close the [SMTP Virtual Server #1] window.