Need Help in Configuring Email in RunDeck 2.4

369 views
Skip to first unread message

Manoj Kalwar

unread,
May 14, 2015, 12:18:15 PM5/14/15
to rundeck...@googlegroups.com
Hi All,

I am trying to configure Email on Rundeck 2.4.

We are trying to email Log output to our Client. But we are not able to configure Email.

Regards,
Manoj Kalwar

Diego Fernando Luisi

unread,
Jun 11, 2015, 3:32:15 PM6/11/15
to rundeck...@googlegroups.com

Dhanasekaran Anbalagan

unread,
Jun 11, 2015, 10:53:42 PM6/11/15
to rundeck...@googlegroups.com
Hi Diego,

I am trying with gmail 

configs :: -

grails.mail.host=smtp.gmail.com
grails.mail.port=465
grails.mail.username=dh...@dhana.net
grails.mail.password=superSecret
grails.mail.default.from=dh...@dhana.net

grails.mail.props = [ "mail.smtp.auth":"true",                                     
              "mail.smtp.socketFactory.port":"465",
              "mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",
              "mail.smtp.socketFactory.fallback":"false"]

When I try to run job,

when I set grails.mail.port=465 log:- 

2015-06-11 22:40:44,027 ERROR NotificationService - Error sending notification email to dh...@dhana.net for Execution 78: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1

for port no=25 log:-

2015-06-11 22:45:31,233 ERROR NotificationService - Error sending notification email to dh...@dhana.net for Execution 79: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. s2sm3084398vdh.8 - gsmtp


I followed below mentioned docs,


no luck with gmail,

Please guide me.

-Dhanasekaran.



Did I learn something today? If not, I wasted it.

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/ea0aab93-6f3d-41c7-a418-5948dc677eea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Diego Fernando Luisi

unread,
Jun 17, 2015, 4:39:57 PM6/17/15
to rundeck...@googlegroups.com
Try port 587


[root@LGSLRDECAPPP1 tmp]# telnet smtp.gmail.com 587

Trying 64.233.186.109...

Connected to smtp.gmail.com.

Escape character is '^]'.

220 mx.google.com ESMTP l25sm2750870qkh.17 - gsmtp


Em quinta-feira, 14 de maio de 2015 13:18:15 UTC-3, Manoj Kalwar escreveu:
Reply all
Reply to author
Forward
0 new messages