Jira not able to talk to Exchange 2010 - error as connection refused

* Our infra team is working on migrating our Excahnge server to 2010

* We have Jira issue creation service configured that is reading emails from mailbox now and creating tickets without any issues

* For testing - we created a new mailbox in exchange 2010 - but Jira is not able to connect to the mailbox

* Tried both POP and IMAP

* Is there anything specific need to be enabled in Exchange - I can let our Infra team know about that

Create_Only[10040]: Error connecting to host 'usxxxx.xxxx.xxxx.xxx' as user 'Us_tst_e2k3' via protocol 'imap': javax.mail.MessagingException: Connection refused: connect;
  nested exception is:
	java.net.ConnectException: Connection refused: connect
javax.mail.MessagingException: Connection refused: connect;
  nested exception is:
	java.net.ConnectException: Connection refused: connect
	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:461)
	at javax.mail.Service.connect(Service.java:236)
	at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:155)
	at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56)
	at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

2 answers

1 accepted

1 votes
Renjith Pillai Community Champion Feb 07, 2013

Yes, docs says so. In fact Google says so:

http://technet.microsoft.com/en-us/library/bb124934(v=exchg.141).aspx

http://technet.microsoft.com/en-us/library/aa996347(v=exchg.141).aspx

1 votes

Renjith has pointed you to the docs on how to enable POP3, it's likely that your Exchange server team have not enabled it.

I suspect it's exactly the same for IMAP. IMAP is a standard protocol, but it's not enabled in Exchange 2010 by default.

You need to choose which one you prefer and get the Exchange team to enable it. (It's no good them talking about MAPI - that's closed source and needs a licence fee, so it's not particularly useful and no-one really bothers to take it seriously, except MS)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,932 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot