On 11/8/23 16:52, Dietmar Maurer wrote:
This patch series adds support for a new notification endpoint type,
smtp. As the name suggests, this new endpoint allows PVE to talk
to SMTP server directly, without using the system's MTA (postfix).

Isn't this totally unreliable? What if the server responds with a
temporary error code? (An MTA retries several times).

The notification system has no mechanism yet for queuing/retries,
so yes, at the moment a SMTP endpoint would indeed be less reliable than a 'sendmail' endpoint. I'm not sure though if I would call it
'totally unreliable'.
The same thing applies for gotify/webhook endpoints - if the network or Gotify server is down, a notification cannot be sent. A queuing/retry mechanism could be added at some point, but this would require some bigger changes, as the notification system is completely stateless right now.

--
- Lukas


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

Reply via email to