public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Alexander Zeidler <a.zeidler@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH docs] notification mode: revise subchapter
Date: Wed,  2 Apr 2025 16:39:42 +0200	[thread overview]
Message-ID: <20250402143942.213849-1-a.zeidler@proxmox.com> (raw)

- Display the values and descriptions as a table.

`auto`:
- Rephrase the description so that the focus is on the recommended
  "notification-system" mode. This also fixes the incorrectly duplicated
  "if no email address is entered".
- Emphasize "Send email to".

`legacy-sendmail`:
- s/version/versions/
- Move/Append info about future removal of this mode.

Signed-off-by: Alexander Zeidler <a.zeidler@proxmox.com>
---
 notifications.adoc | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/notifications.adoc b/notifications.adoc
index 331ac1d..f2e90f3 100644
--- a/notifications.adoc
+++ b/notifications.adoc
@@ -443,22 +443,21 @@ permissions on `/mapping/notifications`
 Notification Mode
 -----------------
 A backup job configuration has the `notification-mode`
-option which can have one of three values.
-
-* `auto`: Use the `legacy-sendmail` mode if no email address is entered in the
-  `mailto`/`Send email to` field. If no email address is entered,
-  the `notification-system` mode is used.
-
-* `legacy-sendmail`: Send notification emails via the system's `sendmail` command.
-  The notification system will be bypassed and any configured
-  targets/matchers will be ignored.
-  This mode is equivalent to the notification behavior for version before
-  {pve} 8.1 .
-
-* `notification-system`: Use the new, flexible notification system.
+option, which can have one of three values.
+
+[cols="30%m,70%"]
+|===
+| auto | If no email address is entered in the 'Send email to' field
+  (`mailto` option), use the recommended `notification-system` mode.
+  Otherwise use the `legacy-sendmail` mode.
+| legacy-sendmail | Send notification emails via the host's `sendmail`
+  command. The notification system will be bypassed and any of its
+  configured targets/matchers will be ignored. This mode is equivalent
+  to the notification behavior for versions before {pve} 8.1 . This
+  mode might be removed in a later release of {pve}.
+| notification-system | Use the new, flexible notification system.
+|===
 
 If the `notification-mode` option is not set, {pve} will default
 to `auto`.
 
-The `legacy-sendmail` mode might be removed in a later release of
-{pve}.
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


                 reply	other threads:[~2025-04-02 14:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250402143942.213849-1-a.zeidler@proxmox.com \
    --to=a.zeidler@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal