From 803bf7cdc7ef521aa6387acec70c1056d815e50d Mon Sep 17 00:00:00 2001 From: Lukas Wagner Date: Fri, 19 Apr 2024 16:17:14 +0200 Subject: [PATCH] notify: pbs context: include nodename in default sendmail author The old notification stack in proxmox-backup includes the nodename, so we include it here as well. Signed-off-by: Lukas Wagner Reviewed-by: Fiona Ebner --- proxmox-notify/src/context/pbs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-notify/src/context/pbs.rs b/proxmox-notify/src/context/pbs.rs index 70e993f0..299f6859 100644 --- a/proxmox-notify/src/context/pbs.rs +++ b/proxmox-notify/src/context/pbs.rs @@ -82,7 +82,7 @@ impl Context for PBSContext { } fn default_sendmail_author(&self) -> String { - "Proxmox Backup Server".into() + format!("Proxmox Backup Server - {}", proxmox_sys::nodename()) } fn default_sendmail_from(&self) -> String {