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 vote
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,319 views 12 19
Read article

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