Table of Contents
はじめに
Redmineでメール通知するためのconfiguration.ymlの設定方法について記載します。
方法
configuration.ymlの場所を探す
$ find / -name configuration.yml -print
# configuration.yml.exampleをコピーして作る場合$ cp config/configuration.yml.example config/configuration.yml
configuration.ymlを編集する
SendGrid等TLSを使用したSMTPサーバーの設定例。
default: email_delivery: delivery_method: :smtp smtp_settings: enable_starttls_auto: true address: "smtp.sendgrid.net" port: 587 domain: "smtp.sendgrid.net" authentication: :plain user_name: "apikey" password: "YOUR API KEY"
Apacheを再起動する
$ systemctl restart apache2