From 6401417d6c17f827c94e44dd27c85c771442630b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 29 May 2018 10:28:08 +0200 Subject: Add help in conf file regarding SMTP --- config/default.yaml | 4 +++- config/production.yaml.example | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index f43cbaf4b..b5ad0a8f2 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -1,3 +1,5 @@ +# /!\ YOU SHOULD NOT UPDATE THIS FILE, USE production.yaml instead /!\ # + listen: hostname: '127.0.0.1' port: 9000 @@ -60,7 +62,7 @@ admin: signup: enabled: false limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited - filters: + filters: cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist whitelist: [] blacklist: [] diff --git a/config/production.yaml.example b/config/production.yaml.example index a9d2c3b80..a11f0a1d6 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -32,10 +32,10 @@ redis: # SMTP server to send emails smtp: hostname: null - port: 465 + port: 465 # If you use StartTLS: 587 username: null password: null - tls: true + tls: true # If you use StartTLS: false disable_starttls: false ca_file: null # Used for self signed certificates from_address: 'admin@example.com' @@ -76,7 +76,7 @@ admin: signup: enabled: false limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited - filters: + filters: cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist whitelist: [] blacklist: [] -- cgit v1.2.3