about summary refs log tree commit diff
path: root/.env.production.sample
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2017-04-17 18:41:19 +1000
committerEugen <eugen@zeonfederated.com>2017-04-17 10:41:19 +0200
commite9eaf9e33c826bed107785b2d3291750dc21e14c (patch)
tree6ffc6bb9ec16095c985f8e89eceac38503b77559 /.env.production.sample
parente22f9819bba5bbbca503a7ffddc29b681cf76344 (diff)
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
Diffstat (limited to '.env.production.sample')
-rw-r--r--.env.production.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/.env.production.sample b/.env.production.sample
index 6555cb12a..0759ed7fa 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -35,6 +35,8 @@ OTP_SECRET=
 
 # E-mail configuration
 # Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
+# If you want to use an SMTP server without authentication (e.g local Postfix relay)
+# then set SMTP_AUTH_METHOD to 'none' and leave SMTP_LOGIN and SMTP_PASSWORD blank
 SMTP_SERVER=smtp.mailgun.org
 SMTP_PORT=587
 SMTP_LOGIN=