[SOLVED] Proxmox mail forward issues

Ponkhy

New Member
Dec 1, 2023
4
1
3
Hello,

I want to setup some notifications through scripts utilizing the new Proxmox Notifications, but unfortunately I've been facing two issues.

When I send a mail to root like this:
Code:
mail -s "Test subject" "root@localhost" <<EOF
Test mail content
EOF

I receive an email with the right subject, but the content itself will be in a separate .eml file.

Is there a way to have the content of the email directly inside of it, instead of a file?

The 2nd issue is when I create a "Notification Matcher" and add this rule
Code:
Match field: type=system-mail
I'm not receiving any emails directed to root, but with the "default-matcher" it works.

Any help is appreciated, thanks!

Update:
I did find this post, installed the package update and it resolved my first issue.
https://forum.proxmox.com/threads/proxmox-mail-forward-sends-mails-as-eml.137710/
 
Last edited:
  • Like
Reactions: Ponkhy