Unknown user name or bad password error when configuring mail handler in Jira server

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When setting up a mail handler, it fails resulting in the following error appearing in the logs:

2007-10-18 13:42:00,181 JiraQuartzScheduler_Worker-0 ERROR [service.services.mail.MailFetcherService] Error connecting to host 'host.whatever.com' as user 'JiraUSER' via protocol 'pop3': javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
javax.mail.AuthenticationFailedException: Logon failure: unknown user name or bad password.
	at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)

Cause

The domain users require an additional domain appended to the the mail login name.

Resolution

The mail server configured to work with JIRA requires an additional domain property to be specified during authentication. Use the format mydomain\myuserid as the username when configuring a mail handler similar to the following:

handler: Create Or Comment Handler 
popserver: JiraUser@host.whatever.com
handler.params: project=HEA, issuetype=1, reporterusername=mydomain\myuserid
usessl: No SSL 
forwardEmail: pluaces@wfscorp.com
Last modified on Sep 25, 2019

Was this helpful?

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