Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

smtpsvc 4006 error

54 views
Skip to first unread message

sofia(백선혜)

unread,
Jul 18, 2022, 12:23:04 AM7/18/22
to
https://docs.microsoft.com/en-us/answers/questions/930451/smtpsvc-4006-error.html

Hi team,

I'm configuring local SMTP virtual server to use the email service of tomcat webapp(pwm) which is installed in Active Directory(EC2 Windows) Server.
![221751-windows-spec.png][1]

But when I checked the Server Manager, it says

"Message delivery to the host '*IP Address which I don't know*' failed while delivering to the remote domain '*mydomainname.com*' for the following reason: The remote server did not respond to a connection attempt.

![221688-windows-server-manager.png][2]
----------

# in the windows server
I configured the port of smtp server as 587 and I allowed 587 ports in both outbound and inbound firewalls. Also, I allowed localhost(127.0.0.1) in relay restrictions and access connection too. I chose the basic authentication with TLS encryption for the outbound security. Also, since I use local email smtp server, the security group and nacl rules are not related with this issue but I checked them also and the ports are all allowed.
![221706-windows-firewalls-inbound.png][3]
![221716-windows-firewalls-outbound.png][4]
![221666-windows-smtp-general.png][5]
![221762-windows-smtp-general-advanced.png][6]
![221657-windows-smtp-access-connection.png][7]
![221707-windows-smtp-access-relay.png][8]
![221761-windows-smtp-delivery-outboud-security.png][9]

# in the pwm administrator configuration
I put the basic authentication information and 127.0.0.1, 587 as a default email server of the service.
![221717-pwm-default-email-server.png][10]

I googled this error and tried my best. Could you help me out? What do I have to check more?


[1]: /answers/storage/attachments/221751-windows-spec.png
[2]: /answers/storage/attachments/221715-windows-server-manager.png
[3]: /answers/storage/attachments/221706-windows-firewalls-inbound.png
[4]: /answers/storage/attachments/221716-windows-firewalls-outbound.png
[5]: /answers/storage/attachments/221666-windows-smtp-general.png
[6]: /answers/storage/attachments/221762-windows-smtp-general-advanced.png
[7]: /answers/storage/attachments/221657-windows-smtp-access-connection.png
[8]: /answers/storage/attachments/221707-windows-smtp-access-relay.png
[9]: /answers/storage/attachments/221761-windows-smtp-delivery-outboud-security.png
[10]: /answers/storage/attachments/221717-pwm-default-email-server.png
0 new messages