Seems like this was forgotten in the initial version. Without it,
it's not really possible to create matchers for forwarded mails.

Signed-off-by: Lukas Wagner <[email protected]>
---

Notes:
    New in v2.

 proxmox-notify/src/lib.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxmox-notify/src/lib.rs b/proxmox-notify/src/lib.rs
index f3ee3ad..ee1e445 100644
--- a/proxmox-notify/src/lib.rs
+++ b/proxmox-notify/src/lib.rs
@@ -233,6 +233,7 @@ impl Notification {
 
         let mut additional_fields = HashMap::new();
         additional_fields.insert("hostname".into(), 
proxmox_sys::nodename().into());
+        additional_fields.insert("type".into(), "system-mail".into());
 
         Ok(Self {
             // Unfortunately we cannot reasonably infer the severity from the
-- 
2.39.2



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to