Unknown user name or bad password error when configuring mail handler in Jira server
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
- The username/password was updated on the mail server and needs to be updated to match in the Mail Handler configuration
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
If the username and/or password has been recently updated on the mail server, please update this configuration on the Mail Handler.
Last modified on Mar 17, 2022
Powered by Confluence and Scroll Viewport.