From eaff66916c7b31632d69924a3790ae58e304d5a7 Mon Sep 17 00:00:00 2001 From: Max Chadwick Date: Sat, 9 Apr 2016 22:55:26 -0400 Subject: [PATCH] Clarify SMTP authentication in the docs --- README.md | 2 ++ doc/examples/simple.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index ad8d6572..da07e529 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,8 @@ This is an example configuration that should cover most relevant aspects of the ```yaml global: # The smarthost and SMTP sender used for mail notifications. + # If the host requires authentication, set SMTP_AUTH_USERNAME and SMTP_AUTH_PASSWORD + # environment variables. smtp_smarthost: 'localhost:25' smtp_from: 'alertmanager@example.org' diff --git a/doc/examples/simple.yml b/doc/examples/simple.yml index f6b697a8..00a1d578 100644 --- a/doc/examples/simple.yml +++ b/doc/examples/simple.yml @@ -1,5 +1,7 @@ global: # The smarthost and SMTP sender used for mail notifications. + # If the host requires authentication, set SMTP_AUTH_USERNAME and SMTP_AUTH_PASSWORD + # environment variables. smtp_smarthost: 'localhost:25' smtp_from: 'alertmanager@example.org' # The auth token for Hipchat.