I’m trying to set up some notification scripts using the new Proxmox Notifications system, but I’ve run into a couple of problems.
When I send a test mail to root like this:
I do get the message, the subject looks fine, but the body doesn’t appear directly in the email. Instead, it comes attached as a separate .eml file.
Is there a way to make the text show directly in the email instead of as an attachment?
My second issue is with creating a Notification Matcher. If I configure a rule like this:
then mails sent to root don’t arrive at all. But if I leave the default matcher active, they work fine.
Any advice would be greatly appreciated. Thanks in advance!
Best regards,
When I send a test mail to root like this:
Code:
mail -s "Test subject" "root@localhost" <<EOF
Test mail content
EOF
I do get the message, the subject looks fine, but the body doesn’t appear directly in the email. Instead, it comes attached as a separate .eml file.
Is there a way to make the text show directly in the email instead of as an attachment?
My second issue is with creating a Notification Matcher. If I configure a rule like this:
Code:
Match field: type=system-mail
Any advice would be greatly appreciated. Thanks in advance!
Best regards,