Jira fails to send some of the mail notifications
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
Jira fails to send some of the mail notifications.
環境
Any version Jira or JSM
診断
The atlassian-jira-outgoing-mail.log will have the below error logged:
2024-02-08 11:09:58,972+0200 ERROR [] Sending mailitem PostprocessingMailQueueItem{delegate=To='test@test.com' Subject='Updates for ABC-123: Testing email' From='null' FromName='Tést, Tést (Jira)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.12234.11234567@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@30ba0df' MessageId='null' ExcludeSubjectPrefix=false'} admin 666x438474x1 1efwztm 10.198.15.20,192.168.100.18 /secure/admin/MailQueueAdmin.jspa [c.a.mail.queue.MailQueueImpl] Error occurred in sending e-mail: PostprocessingMailQueueItem{delegate=To='test@test.com' Subject='Updates for ABC-123' From='null' FromName='Mehtälä, Karri (Jira)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.12234.11234567@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@30ba0df' MessageId='null' ExcludeSubjectPrefix=false'}
com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 550 5.2.0 from address is not allowed
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:229) [atlassian-mail-6.0.1.jar:?]
at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:39) [atlassian-mail-6.0.1.jar:?]
at ...
...
...
...
at java.base/java.lang.Thread.run(Unknown Source) [?:?]
Caused by: com.sun.mail.smtp.SMTPSendFailedException: 550 5.2.0 from address is not allowed
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2374) [jakarta.mail-1.6.5-atlassian-2.jar:1.6.5-atlassian-2]
at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:2095) [jakarta.mail-1.6.5-atlassian-2.jar:1.6.5-atlassian-2]
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1301) [jakarta.mail-1.6.5-atlassian-2.jar:1.6.5-atlassian-2]
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendMimeMessage(SMTPMailServerImpl.java:263) [atlassian-mail-6.0.1.jar:?]
at com.atlassian.mail.server.managers.jira.EventAwareSMTPMailServer.sendMimeMessage(EventAwareSMTPMailServer.java:30) [classes/:?]
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:217) [atlassian-mail-6.0.1.jar:?]
... 305 more原因
The error message "550 5.2.0 from address is not allowed" generally means that the email server has rejected the message because the "From" address is not permitted to send messages through the server. In this case, the issue occurred with users who had special characters in their email addresses or usernames, as the mail server does not support UTF-8 headers.
ソリューション
To resolve this issue, you can update the user's email addresses or usernames to remove any special characters, ensuring compatibility with the mail server. Alternatively, the SMTP server administrator can review and update the server configurations to allow the use of special characters by enabling UTF-8 support.
この内容はお役に立ちましたか?