Unable to add incoming mail server due to [IN-USE] Couldn't open INBOX

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

JIRA is unable to add an incoming mail server. The following error is returned: ""AuthenticationFailedException: [IN-USE] Couldn't open INBOX: Internal error occurred. Refer to server log for more information."

The following appears in the atlassian-jira.log:

Unable to connect to the server at mail.example.com due to the following exception: javax.mail.AuthenticationFailedException: [IN-USE] Couldn't open INBOX: Internal error occurred. Refer to server log for more information.

Cause

The user specified in the mail handler does not have the proper permissions.

Resolution

  • Update directory permissions to allow user read/write permissions.

    chmod 0600 /var/spool/mail/*

    (info) In the example above the user is granted read/write permission to the /var/spool/mail/ directory.

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.