Email notifications sending to root@pam

N0_Klu3

Member
Mar 8, 2020
22
2
23
39
Hi all,

I recently setup PBS and notifications similar to how PVE is setup.
But the emails keep going to root@pam but also the email that was configured for this root account...

Code:
This is the mail system at host pve-mini02.home.arpa.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<root@pam>: Host or domain name not found. Name service error for name=pam
    type=AAAA: Host not found



---------- Forwarded message ----------
From: vzdump backup tool <root@pve-mini02.home.arpa>
To: root@pam

But the email is still coming to the correct email configured for the root account, just with this appended at the top.

Can anyone help me where I've gone wrong?
If I send a test it comes through perfectly fine, and the Garbage collection and Verify emails come through perfectly as well.
Its just the backup ones

I mainly fixed the above, but the biggest issue is the from: From: vzdump backup tool <root@pve-mini03.home.arpa>

Is there any way to make it come from the actual email address in the from field of the notifications?
 
Last edited:
I think you have to set "Notification Mode" to "Notification System" in the settings for the backup job (alternatively, set it to 'auto' and remove the email address from the backup job config).
 
  • Like
Reactions: N0_Klu3