Saturday 28 March 2020

The specific error code was 0xC00402C7

"The specific error code was 0xC00402C7."

After installing/configuring SMTP server in windows server 2016 IIS. I was unable to send emails through this new SMTP to any domains. Mails were getting stuck in "C:\inetpub\mailroot\Badmail" folder.
after opening one of notepad file in this path. the error "The specific error code was 0xC00402C7." was mentioned there in the failed logs (notepad files).
Secondly, in the system logs of the SMTP server, getting the event ID=4007, with below detail as warning.

"Message delivery to the host '14.47.3.33' failed while delivering to the remote domain 'live.com' for the following reason: An SMTP protocol error occurred.
 The SMTP verb which caused the error is 'MAIL'.  The response from the remote server is '550 5.7.1 Service unavailable, Client host [18.176.15.17] blocked using Spamhaus. To request remo'
."

So have to first check in black provider list and yes found there that my IP was appearing there as in PBL.
so putted the request there to whitelist my server IP and wait for some time.

Now after waiting for some more than a hour, tested again and were able to send emails to any domain.