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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

73 views 0 5
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