Skip to main content

Unable to Send or Receive Emails Using SMTP (port 25)

Updated over 2 weeks ago

Issue Description

]This applies to Jamf Pro hosted instances

Get the Jamf Pro Server logs (cloud automated action) and look for these events (or similar):

[ERROR] [Tomcat-35 ] [SendMail ] - SendMail exception:
com.sun.mail.util.MailConnectException: Couldn't connect to host, port: <domain name >, 25; timeout 5000
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2209)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)

You will notice port 25 mentioned in the log event.

This indicates the server won't be able to connect because of the recent infrastructure changes, port 25 was blocked following the move to Kubernetes due to some security related concerns.

Troubleshooting Steps

Change the Encryption and port, and test again.

1. In Jamf Pro, click on Settings

2. Click SMTP Server, Set the Encryption to 'SSL' and Port number to '587'

3. Click the Test button in the lower right

4. Enter recipient email address and click Test

Did this answer your question?