docs: config.yml.example - remove smtp section, ns8-sendmail handles delivery
This commit is contained in:
@@ -1,38 +1,13 @@
|
|||||||
# ns8-backup-monitor configuration
|
# 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
|
# 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:
|
mail:
|
||||||
# Sender address.
|
# Sender address (optional - ns8-sendmail may override this with the
|
||||||
# If use_ns8_relay: true, the 'from' is read from NS8 Redis (mail_from field).
|
# system sender; useful to set for clarity in mail clients)
|
||||||
# You can override it here if needed.
|
|
||||||
from: "ns8-backup-monitor@yourdomain.com"
|
from: "ns8-backup-monitor@yourdomain.com"
|
||||||
|
|
||||||
# List of recipients - REQUIRED, always set this
|
# List of recipients - REQUIRED, always set this
|
||||||
|
|||||||
Reference in New Issue
Block a user