Sending email fails due to 501 Syntax: HELO hostname error

Troubleshooting Installation

このページの内容

お困りですか?

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

コミュニティに質問

症状

The following error is logged in Stash logs:

2012-05-04 14:18:16,863 ERROR [FE-WatchChecker] fisheye.mail com.cenqua.fisheye.mail.Mailer-sendMessage - problem sending email
javax.mail.MessagingException: 501 Syntax: HELO hostname
	at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363)
	at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:838)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:375)
	at javax.mail.Service.connect(Service.java:275)
	at javax.mail.Service.connect(Service.java:156)
	at javax.mail.Service.connect(Service.java:105)
	at javax.mail.Transport.send0(Transport.java:168)
	at javax.mail.Transport.send(Transport.java:98)
	at com.cenqua.fisheye.mail.Mailer.send(Mailer.java:217)
	at com.cenqua.fisheye.mail.Mailer.sendMessage(Mailer.java:193)
	at com.cenqua.fisheye.web.DefaultWatchManager.sendWatchEmail(DefaultWatchManager.java:690)
	at com.cenqua.fisheye.web.DefaultWatchManager.sendEmailForChangesets(DefaultWatchManager.java:611)
	at com.cenqua.fisheye.web.DefaultWatchManager.access$400(DefaultWatchManager.java:63)
	at com.cenqua.fisheye.web.DefaultWatchManager$WatchChecker.checkWatchesForRep(DefaultWatchManager.java:279)
	at com.cenqua.fisheye.web.DefaultWatchManager$WatchChecker.checkWatchesForRep(DefaultWatchManager.java:211)
	at com.cenqua.fisheye.web.DefaultWatchManager$WatchChecker.run(DefaultWatchManager.java:184)
	at java.lang.Thread.run(Thread.java:662)

原因

Server's hostname is not defined, so FishEye sends the server's IP address instead of the hostname.

ソリューション

Edit /etc/hosts file adding an entry to convert your computer's IP to its hostname.

 

最終更新日: 2016 年 2 月 23 日

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

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