Adding mail server

Tarek Hassan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2025

when testing the connection I received the error below (extract from the log).
Could you please assist in solving the this issue (Jira v9.4.8)

 

2025-02-12 09:36:25,041+0800 https-openssl-nio-8443-exec-24 ERROR UserName 576x212x1 zic8jx 10.1.2.11 /secure/admin/VerifyPopServerConnection!add.jspa [c.a.j.p.mail.serververification.VerifyPopServer] Unable to connect to the server at outlook.office365.com due to the following exception: java.net.SocketException: Connection reset

 

Jira v9.4.8

 

Jira v9.4.8

1 answer

0 votes
Victor Law
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Hi @Tarek Hassan

Welcome to the community!

Based on the error provided, Jira cannot connect to the Microsoft Outlook Exchange Server/Service. Your company network is likely restricted to the outbound/inbound network connection, which requires your network team to whitelist it.

Thank you.

Tarek Hassan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2025

Thanks Victor,

I discussed with the network team and Jira server has an open connection with O365.

also, I tested all possible connections and all were successful.

Are there a particular test to check (as I can send emails from Jira and receive them "Outgoing mail >> The connection was successful."

 

Any help will be much appreciated!

Best Regards,

Tarek

Victor Law
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 11, 2025

Hi @Tarek Hassan

Outgoing (SMTP) and incoming mail servers are using different ports.

Since you are trying to configure an incoming mail server with IMAP, please verify with your network team if the following ports are whitelisted:

  • IMAP: 143
  • SECURE_IMAP: 993

https://confluence.atlassian.com/adminjiraserver/configuring-an-incoming-mail-server-with-pop-imap-or-microsoft-graph-api-1283491700.html

Thank you.

Tarek Hassan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2025

I test the port on Jira server (Powershell below) , also attached Jira errors 

 

Test-NetConnection -ComputerName outlook.office365.com -Port 993

ComputerName : outlook.office365.com
RemoteAddress : 000.00.000.00
RemotePort : 993
InterfaceAlias : Ethernet0
SourceAddress : 000.000.000.000
TcpTestSucceeded : True

Jira1.PNGJira.PNG

Suggest an answer

Log in or Sign up to answer