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.