Rundeck Gmail SMTP not Working - smtp.gmail.com Unknown Host

南笙酒味 提交于 2019-12-06 22:48:25

You Must need to use .groovy file as props is not supported in .properties file

below is my rundeck-config.groovy file which is working fine

loglevel.default="INFO"
rdeck.base="/var/lib/rundeck"
rss.enabled=false

dataSource.dbCreate = "update"
dataSource.url = "jdbc:h2:file:/var/lib/rundeck/data/rundeckdb;MVCC=true;TRACE_LEVEL_FILE=4"
grails {
  mail {
        host = "smtp.gmail.com"
        username = "************"
        port = 587
        password = "*********"
        props = ["mail.smtp.starttls.enable":"true","mail.smtp.auth":"true","mail.smtp.socketFactory.port":"587","mail.smtp.socketFactory.fallback":"false"]
  }
}
grails.serverURL="http://***.***.***.***:4440"

Reference: https://github.com/rundeck/rundeck/issues/1607

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!