]> cat aescling's git repositories - mastodon.git/commit
Allow using an SMTP server without authentication (#1597)
authorMiguel Jacq <mig@mig5.net>
Mon, 17 Apr 2017 08:41:19 +0000 (18:41 +1000)
committerEugen <eugen@zeonfederated.com>
Mon, 17 Apr 2017 08:41:19 +0000 (10:41 +0200)
commite9eaf9e33c826bed107785b2d3291750dc21e14c
tree6ffc6bb9ec16095c985f8e89eceac38503b77559
parente22f9819bba5bbbca503a7ffddc29b681cf76344
Allow using an SMTP server without authentication (#1597)

* Allow using an SMTP server without authentication (e.g Postfix relay on the same host) by setting SMTP_LOGIN and SMTP_AUTH_METHOD to 'none'

* Add note in .env.production.sample about SMTP settings for servers where no auth is required

* Assume that SMTP_LOGIN and SMTP_PASSWORD will be blank if we set SMTP_AUTH_METHOD to none
.env.production.sample
config/environments/production.rb