'com.sun.mail.smtp.SMTPSendFailedException 553 5.5.4 Domain name required for sender address' when Configuring Mail Server
プラットフォームについて: Cloud および Data Center - この記事はクラウドと 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 は除く
症状
Sending out a test email when Configuring a Server for Outgoing Mail fails. The username and password are correct. The following appears in the atlassian-confluence.log
(or atlassian-confluence-outgoing-mail.log
from 7.11):
com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 553 5.5.4 <test-admin>... Domain name required for sender address test-admin
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:191)
原因
Some mail servers will automatically append the domain name to the user name when client try to login. However, some servers will not, hence fail the authentication.
ソリューション
Append a domain name to the user name, for instance:
test-admin@mycompany.com