Jira server throws SMTPAddressFailedException when sending email

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Outgoing mails from JIRA fails with the SMTP error code 550. The mails outgoing from the notifications queue for issue changes as well as the emails generated via Contact Administrators form can get affected due to this error.

atlassian-jira-outgoing-mail.log に次のメッセージが表示される。

2012-05-17 14:47:58,780 ERROR [SMTP Server(servername)] Sending mailitem To='sample@domain.com' Subject='Sample Subject' From='sender@domain.com' FromName='null' 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='sample@domain.com' Subject='Sample Subject' From='sender@domain.com' FromName='null' 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 you are not allowed to send mail to <sample@domain.com>
       at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:183)
       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)

原因

This error is caused by the security settings at the SMTP server which prevents JIRA from sending emails using that server. 

ソリューション

このページの内容はサポート対象外のプラットフォームに関連しています。したがって、アトラシアン サポートではこのページの記載内容のサポートの提供は保証されません。この資料は情報提供のみを目的として提供されています。内容はお客様自身の責任でご利用ください。

The error lies outside of JIRA and the security settings at the SMTP server have to be checked to resolve the issue. There are many reasons for this and the main ones being:

  • The sender has been blocked by the recipient's mail server. This could be due to a spam configuration at the SMTP server.
  • The SMTP cannot verify who the sender is and will not allow sending emails.
  • Mailbox unavailable for the user mentioned in the From address of the email.

(warning) This is not a comprehensive list of issues to be checked at the SMTP server. Please consult with the local IT administrator to verify the SMTP server configuration to resolve the issue.

最終更新日 2019 年 9 月 25 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.