Okay, thanks for the clarification.
> On 30.09.2023 10:07 CEST Thomas Lamprecht wrote:
>
>
> Am 11/08/2023 um 12:46 schrieb Christian Ebner:
> > During the redesign of www.proxmox.com the menu structure and therefore
> > some url changed. Update the external link in order to avoid an
> > unnec
The name of the configuration option in datacenter.cfg is `email_from`
and not `mail_from`.
Signed-off-by: Lukas Wagner
---
Reported in our forum:
https://forum.proxmox.com/threads/mail-alerts-not-sent-with-datacenter-default.134305/
pve-rs/src/notify_context.rs | 2 +-
1 file changed, 1 insert
... as leaf error-type for anything for which we do not necessarily
want a separate enum variant.
Signed-off-by: Lukas Wagner
---
proxmox-notify/src/lib.rs | 11 +++
1 file changed, 11 insertions(+)
diff --git a/proxmox-notify/src/lib.rs b/proxmox-notify/src/lib.rs
index 7500778..f7d480
This new function forwards an email to new recipients.
Signed-off-by: Lukas Wagner
---
proxmox-sys/src/email.rs | 52 +++-
1 file changed, 51 insertions(+), 1 deletion(-)
diff --git a/proxmox-sys/src/email.rs b/proxmox-sys/src/email.rs
index 8b3a1b6..c94f634
Signed-off-by: Lukas Wagner
---
notifications.adoc | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/notifications.adoc b/notifications.adoc
index c4d2931..0b00b1e 100644
--- a/notifications.adoc
+++ b/notifications.adoc
@@ -19,9 +19,10 @@ such as:
The aim of this patch series is to adapt `proxmox-mail-forward`
so that it forwards emails that were sent to the local root user
through the `proxmox_notify` crate.
A short summary of the status quo:
Any mail that is sent to the local `root` user is forwarded by
postfix to the `proxmox-mail-forwa
The 'Notifications' panel in Datacenter view now features a new entry
'System mail', allowing the user to configure target and policy for
mails sent to the local root user.
Signed-off-by: Lukas Wagner
---
www/manager6/dc/NotificationEvents.js | 27 +++
1 file changed, 27
This commit adds two new paramters to the 'notify' property string:
- 'system-mail': Determine whether mails to root should be forwarded
by the notification system
- 'system-mail-target': Determine the target to which the
notification should be forwarded to.
Signed-off-by: Lukas Wagner
As preparation for the integration of `proxmox-mail-foward` into the
notification system, this commit makes a few changes that allow us to
forward raw email messages (as passed from postfix).
For mail-based notification targets, the email will be forwarded
as-is, including all headers. The only th
Signed-off-by: Lukas Wagner
---
src/mail-parser/debian/changelog | 6 ++
src/mail-parser/debian/copyright | 49
.../debian/copyright.debcargo.hint| 77 +++
src/mail-parser/debian/debcargo.toml | 2 +
4 files changed, 13
This keeps us isolated from any further changes in the
proxmox_notify::Notification struct.
Signed-off-by: Lukas Wagner
---
common/src/notify.rs | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/common/src/notify.rs b/common/src/notify.rs
index 9f44225..203acca 100644
--
The context has now been moved to `proxmox-notify` due to the fact
that we also need it in `proxmox-mail-forward` now.
Signed-off-by: Lukas Wagner
---
pve-rs/Cargo.toml| 2 +-
pve-rs/src/lib.rs| 7 ++-
pve-rs/src/notify_context.rs | 117 ---
This commit moves PVEContext from `proxmox-perl-rs` into the
`proxmox-notify` crate, since we now also need to access it from
`promxox-mail-forward`. The context is now hidden behind a feature
flag `pve-context`, ensuring that we only compile it when needed.
This commit adds PBSContext, since we n
This allows us to send notifications for events from daemons that are
not under our control, e.g. zed, smartd, cron. etc...
For mail-based notification targets (sendmail, soon smtp) the mail is
forwarded as is, including all headers.
All other target types will try to parse the email to extra subj
--- Begin Message ---
Hi,
i have the whish to use watchdog inside of VMs.
I also want to develop this feature for Proxmox.
Can i go with this or is there a pro / con for?
best regards
sascha
--- End Message ---
___
pve-devel mailing list
pve-devel@li
by
* replacing the info button with expandable rows that contain the
details of the warning
* adding two action buttons to copy the summary and details
* making the text selectable
The row expander works like the one in the mail gateway tracking center
-> doubleclick only opens it.
The height o
Am 02/10/2023 um 09:40 schrieb Lukas Wagner:
> The name of the configuration option in datacenter.cfg is `email_from`
> and not `mail_from`.
>
> Signed-off-by: Lukas Wagner
> ---
> Reported in our forum:
> https://forum.proxmox.com/threads/mail-alerts-not-sent-with-datacenter-default.134305/
>
>
Tested-by: Friedrich Weber
Tested patched ISO provided by Stoiko:
* installed in legacy VM
** checked that `grub-pc` is installed
** re-installing it prints "Installing for i386-pc platform"
* installed in UEFI VM
** checked that `grub-efi-amd64` is installed
** re-installing it prints "Installin
18 matches
Mail list logo