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

This widget could not be displayed.

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

https://jira.atlassian.com/browse/JRA-30688

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 xxx@jira.yourco.net, 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.

This widget could not be displayed.

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.

Cheers,

John Chin


I can do this with telnet:

telnet mailserver.abc.dk 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
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

27 views 0 1
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