From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 391111FF380 for ; Fri, 19 Apr 2024 12:48:08 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id AC302698F; Fri, 19 Apr 2024 12:48:08 +0200 (CEST) Message-ID: Date: Fri, 19 Apr 2024 12:47:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Proxmox VE development discussion , Lukas Wagner References: <20240415082614.2515677-1-l.wagner@proxmox.com> <20240415082614.2515677-2-l.wagner@proxmox.com> Content-Language: en-US From: Fiona Ebner In-Reply-To: <20240415082614.2515677-2-l.wagner@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.069 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied: [PATCH manager v5 01/16] api: notifications: add 'smtp' to target index X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Am 15.04.24 um 10:25 schrieb Lukas Wagner: > Signed-off-by: Lukas Wagner > --- > PVE/API2/Cluster/Notifications.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/PVE/API2/Cluster/Notifications.pm b/PVE/API2/Cluster/Notifications.pm > index 7047f0b1..68fdda2a 100644 > --- a/PVE/API2/Cluster/Notifications.pm > +++ b/PVE/API2/Cluster/Notifications.pm > @@ -107,6 +107,7 @@ __PACKAGE__->register_method ({ > my $result = [ > { name => 'gotify' }, > { name => 'sendmail' }, > + { name => 'smtp' }, > ]; > > return $result; > @@ -143,7 +144,7 @@ __PACKAGE__->register_method ({ > 'type' => { > description => 'Type of the target.', > type => 'string', > - enum => [qw(sendmail gotify)], > + enum => [qw(sendmail gotify smtp)], > }, > 'comment' => { > description => 'Comment', applied this fix already, thanks! _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel