Reset password e-mail throws error No authentication mechansims supported by both server and client

お困りですか?

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

コミュニティに質問

症状

Trying to send a password reset e-mail 

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

ERROR [atlassian.event.internal.EventPublisherImpl] There was an exception thrown trying to dispatch event 'com.atlassian.crowd.event.login.RequestResetPasswordEvent@4a48ef6b' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@1138f5c'.
java.lang.RuntimeException: Could not send email to admin@localhost.com Reason:No authentication mechansims supported by both server and client
 
...
Caused by: com.atlassian.crowd.manager.mail.MailSendException: Could not send email to admin@localhost.com. Reason:[EOF]
	at com.atlassian.crowd.manager.mail.MailManagerImpl.sendEmail(MailManagerImpl.java:90)
	at com.atlassian.crowd.manager.login.util.ForgottenLoginMailer.mailResetPasswordLink(ForgottenLoginMailer.java:149)
	at com.atlassian.crowd.event.listener.RequestResetPasswordListener.handleEvent(RequestResetPasswordListener.java:24)
	... 154 more
Caused by: javax.mail.MessagingException: [EOF]
	at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
	at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1512)
	at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
	at com.atlassian.crowd.manager.mail.MailManagerImpl.sendEmail(MailManagerImpl.java:80)

原因

Need additional properties in the mail resource elements.

ソリューション

  1. Confluence をシャットダウンします。
  2. Modify the resource in your server.xml to add the following elements:

    <Resource name="mail/ConfluenceMailServer"
    			auth="Container"
    			type="javax.mail.Session"
    			mail.smtp.host="smtp.office365.com"
    			mail.smtp.port="587"
    			mail.smtp.auth="true"
    			mail.smtp.user="admin@localhost.com"
    			password="xxxxxxxx"
    			mail.smtp.starttls.enable="true"
    		/> 
  3. Confluence を再起動します。

Regular Expression:Caused by: javax\.mail\.MessagingException: [EOF]

Last modified on Mar 30, 2016

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

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