public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH docs] notification mode: revise subchapter
@ 2025-04-02 14:39 Alexander Zeidler
  0 siblings, 0 replies; only message in thread
From: Alexander Zeidler @ 2025-04-02 14:39 UTC (permalink / raw)
  To: pve-devel

- 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-02 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-02 14:39 [pve-devel] [PATCH docs] notification mode: revise subchapter Alexander Zeidler

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