Signed-off-by: Lukas Wagner <l.wag...@proxmox.com> --- notifications.adoc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)
diff --git a/notifications.adoc b/notifications.adoc index 0b00b1e..c2fe393 100644 --- a/notifications.adoc +++ b/notifications.adoc @@ -73,9 +73,37 @@ accomodate multiple recipients. set, the plugin will fall back to the `email_from` setting from `datacenter.cfg`. If that is also not set, the plugin will default to `root@$hostname`, where `$hostname` is the hostname of the node. +The `From` header in the email will be set to `$author <$from-address>`. * `filter`: The name of the filter to use for this target. +SMTP +~~~~ + +SMTP notification targets can send emails directly to an SMTP mail relay. + +The configuration for SMTP target plugins has the following options: + +* `mailto`: E-Mail address to which the notification shall be sent to. Can be +set multiple times to accomodate multiple recipients. +* `mailto-user`: Users to which emails shall be sent to. The user's email +address will be looked up in `users.cfg`. Can be set multiple times to +accomodate multiple recipients. +* `author`: Sets the author of the E-Mail. Defaults to `Proxmox VE`. +* `from-address`: Sets the From-addresss of the email. SMTP relays might require +that this address is owned by the user in order to avoid spoofing. +The `From` header in the email will be set to `$author <$from-address>`. +* `username`: Username to use during authentication. If no username is set, +no authentication will be performed. The PLAIN and LOGIN authentication methods +are supported. +* `password`: Password to use when authenticating. +* `mode`: Sets the encryption mode (`insecure`, `starttls` or `tls`). Defaults +to `tls`. +* `port`: The SMTP to use. If not set, the used port +defaults to 25 (`insecure`), 465 (`tls`) or 587 (`starttls`), deping on the +value of `mode`. +* `filter`: The name of the filter to use for this target. + Gotify ~~~~~~ -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel