[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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!