Access to another shared mailbox with a service account using IMAP

We have a service account we want to access a shared Mailbox folder in order to create issues. But how should we configure this when using IMAP? ie. what should i put into the username field?

Im aware that the folder should be stated when configure the email handler.

But how should i state which mailbox to use when using IMAP?

I use JIRA 4.4.5 (download)

2 answers

1 accepted

0 votes
Accepted answer

I created a FUG at Atlassian, which was converted into an Improvement. So JIRA does not support shared mailbox access with IMAP.

Im not sure what mailserver you're using, but I setup a virtual mailbox some time ago using Postfix that routed all addressees into a single mailbox, from there I used Dovecot (happened to be pop3 but Dovecot supports IMAP also). If you have ability to run your own mailhost on a dedicated domain, ie, where xxx is any addressee that is to be handled by JIRA, this may work for you.

From you content, it sounds like you want mulitple mailboxes? I guess so you can route email to specific projects? Well, JEMH does that. The free version available for 4.x has basic property file config, and might also be able to help, YMMV, routing of email based on 'addressee' as a projectKey. The 1.0+ releases are commercial and JIRA5+ only.

0 votes

Hi Carsten,

But how should we configure this when using IMAP?

Please see configuring JIRA to Receive POP or IMAP Mail.

{what should i put into the username field?}

You need to put your IMAP account for authentication purpose.

{But how should i state which mailbox to use when using IMAP?}

There is no place for configuring mailbox in JIRA IMAP server. Every mail arrive to your IMAP mailbox will be automate create an issue. But first, you need to create a mail handler to handle any incoming mail. To know how to configure the mail handler, please click here.

Hope it helps.


John Chin

I can do this with telnet:

telnet 143

and then login and access to the shared mailbox with our service account:

? login domain-abc/SER-JIRA-TEST/jiramailtest Password123

But it does not work when i but domain-abc/SER-JIRA-TEST/jiramailtest into the username.

So does anyone know the syntax?

Later I will access a folder in the mailbox for creation of issues with use of a Create Issue Handler.

PS: For POP3 we can write the following in username: domain-abc\SER-JIRA-TEST\jiramailtest ,but with no access to a folder - only the inbox.

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,734 views 17 21
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