Hi Team,
I'm configuring email server of PWM as SMTPSVC (local Windows SMTP Server (IIS)). The SMTPSVC is configured in windows server which tomcat(PWM) is installed.
But, I got some errors like the below.
- When I set the SMTP Server Address of default email server in PWM as 172.31.3.78.
- ERROR, email.EmailConnectionPool, 5057 ERROR_SERVICE_UNREACHABLE (unable to connect to email server 'id=default,host=email-smtp.ap-northeast-2.amazonaws.com,type=SMTPS,port=587,username=AKIAZ6QXZEQ2B7DWMCXP', error: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: email-smtp.ap-northeast-2.amazonaws.com, 587; timeout 10000, cause:java.net.SocketTimeoutException: connect timed out)
- ERROR, email.EmailService, error sending email (5057 ERROR_SERVICE_UNREACHABLE (unable to reach any configured email server))
- WARN. email.EmailService_WorkQueueProcessor, discarding queued item due to age
- When I set the SMTP Server Address of default email server in PWM as 127.0.0.1.
- ERROR, email.EmailService, error sending email (5057 ERROR_SERVICE_UNREACHABLE (unable to reach any configured email server))
- ERROR, email.EmailService, 5057 ERROR_SERVICE_UNREACHABLE (unable to reach any configured email server)
- WARN , email.EmailConnectionPool, 5057 ERROR_SERVICE_UNREACHABLE (unable to connect to email server 'id=default,host=127.0.0.1,type=SMTP,port=587,username=corp\Admin', error: jakarta.mail.MessagingException: Got bad greeting from SMTP host: 127.0.0.1, port: 587, response: [EOF])
This is screenshots of PWM Configuration.

This is screenshots of Windows SMTP Server Configuration.
I would be so appreciated if you help me out.
Best Regards,
Sofia.