From 0876a06e4544bc0946f3f6d884c7e2507ee12def Mon Sep 17 00:00:00 2001
From: evilny0 <evilny0@moomoocamp.net>
Date: Wed, 19 Apr 2017 23:16:43 +0200
Subject: [PATCH] Updated note about 'none' SMTP authentication method in
 .env.production.sample (#2167)

---
 .env.production.sample | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.env.production.sample b/.env.production.sample
index 16ffd0803..5ef76caa5 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -36,7 +36,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
+# then set SMTP_AUTH_METHOD to 'none' and *comment* SMTP_LOGIN and SMTP_PASSWORD.
+# Leaving them blank is not enough for authentication method 'none'.
 SMTP_SERVER=smtp.mailgun.org
 SMTP_PORT=587
 SMTP_LOGIN=
-- 
GitLab