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

Srini Srini February 7, 2013

* 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
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 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 vote
Nic Brough -Adaptavist-
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 7, 2013

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