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

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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

764 views 2 19
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