Jira fails to send notifications to specific e-mail addresses

お困りですか?

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

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

要約

Health Check: Mail Error Queue indicates there are mail delivery errors. Further inspections reveals the following error when attempting to deliver mail

Error occurred in sending e-mail: com.atlassian.jira.mail.SubscriptionSingleRecepientMailQueueItem owner: 'user@example.com'
com.atlassian.mail.MailException: com.atlassian.mail.MailException: javax.mail.SendFailedException: Invalid Addresses;
      nested exception is:
    	com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <user@example.com>: Recipient address rejected: 



診断

Reviewing Jira's outgoing mail log reveals exceptions as indicated above.

原因

There are Jira user accounts with invalid email addresses that are being rejected by the mail server

ソリューション

The following command will provide a list of invalid email addresses:

grep 'Recipient address rejected' $JIRA_HOME/log/atlassian-jira-outgoing-mail.log* | grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b" | sort -u

From there you can locate the Jira accounts with these email addresses and either remove them or update the Jira user accounts to valid email addresses


最終更新日: 2024 年 1 月 16 日

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

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