Jira server fails to send email with user unknown error when using Exchange

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

  • JIRA's Outgoing mail is not processing mail at all or the queue is not processing all notifications successfully. 

The following appears in the atlassian-jira.log:

2013-01-11 18:09:32,764 ERROR [Default SMTP Server] Sending mailitem To='dummy@mail.com' Subject='(TEST-1) Issue Summary' From='null' FromName='Super Trooper #1 (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ServiceRunner Mail Queue Service Error occurred in sending e-mail: To='ironman@avengers.com' Subject='(TEST-1) Issue Summary' From='null' FromName='Super Trooper #1 (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null'
com.atlassian.mail.MailException: javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
	com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User unknown
	at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:193)
	at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:38)
	at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
	at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28)
	at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
	at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
	at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
	com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User unknown

Cause

  • Usually the SMTP server isn't permitting sending on to other domains
  • This happens because Exchange 2010 automatically sets the attribute Require that all senders are authenticated to enabled by default. 

Resolution

Contact the mail server administrator for further assistance in configuring the SMTP server.

(info) This is related to the mail server configuration, which falls outside the scope of Atlassian Support Offerings.

Last modified on Sep 25, 2019

Was this helpful?

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