2014-10-01 21 views
1

我在Amazon AWS中的VPC上安裝了Rundeck。這不是默認的VPC--它是我用不同的子網和安全組創建的。我的問題是這樣的:除了發送電子郵件時,Rundeck運行良好。我得到這個錯誤:Rundeck在Amazon VPC中不發送電子郵件?

2014-10-01 18:05:42,758 [quartzScheduler_Worker-2] ERROR grails.app.services.rundeck.services.NotificationService - Error sending notification email to [email protected] for Execution 109: Mail server connection failed; nested exception is javax.mail.MessagingException: 501 5.0.0 HELO requires domain address . Failed messages: javax.mail.MessagingException: 501 5.0.0 HELO requires domain address 

這只是當我的VPC創建實例時。它位於公共子網中,通過互聯網網關直接訪問互聯網,因此它之間沒有Nat實例。 ACL是此子網的默認設置,安全組設置爲允許所有出站。

奇怪的是,這是在亞馬遜默認VPC,但不是在我創建一個。它們的設置完全相同。唯一的區別是IP範圍很明顯 - 都有公共IP,並且安全組設置相同。 Sendmail可以發送電子郵件,但Java似乎無法發送。

關於這個問題的任何想法?我嘗試了一些東西,我很難過。

回答

相關問題