From b0356712113f7dece5d728f561287ffcafd3e21b Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 18 May 2026 20:06:46 +0000 Subject: [PATCH] docs: config.yml.example - remove smtp section, ns8-sendmail handles delivery --- config/config.yml.example | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/config/config.yml.example b/config/config.yml.example index 0a2ccb8..89a739c 100644 --- a/config/config.yml.example +++ b/config/config.yml.example @@ -1,38 +1,13 @@ # ns8-backup-monitor configuration -# --------------------------------------------------------------------------- -# SMTP settings -# --------------------------------------------------------------------------- -# By default (use_ns8_relay: true), ns8-backup-monitor automatically reads -# the SMTP relay configured in NethServer 8 from the cluster Redis state -# (key: cluster/mail_settings). This is the same relay used by NS8 itself -# for system notifications, so no manual SMTP setup is needed in most cases. -# -# The fallback chain is: -# 1. NS8 Redis (cluster/mail_settings) <-- default, preferred -# 2. smtp section below -# 3. localhost:25 unauthenticated -# -# To disable auto-detection and use the settings below, set: -# use_ns8_relay: false -smtp: - use_ns8_relay: true # set to false to force manual SMTP config below - - # Manual SMTP config (used only if use_ns8_relay: false or NS8 relay not found) - host: localhost - port: 587 - use_tls: false - use_starttls: true - username: "" - password: "" - # --------------------------------------------------------------------------- # Notification recipients # --------------------------------------------------------------------------- +# Email delivery is handled by ns8-sendmail, which uses the SMTP relay +# already configured in NethServer 8. No SMTP settings needed here. mail: - # Sender address. - # If use_ns8_relay: true, the 'from' is read from NS8 Redis (mail_from field). - # You can override it here if needed. + # Sender address (optional - ns8-sendmail may override this with the + # system sender; useful to set for clarity in mail clients) from: "ns8-backup-monitor@yourdomain.com" # List of recipients - REQUIRED, always set this