I'm experiencing some weird behaviour with my freshly installed proxmox backup server and it's notifications.
I have create a new notification target of type smtp using my smtp-relay.
When sending a testmail everything works as expected. I recieve the mail on my outlook.com account without any problems.
The relay is beeing used for other services without issues as well.
When PBS triggers a notification for prune or gc for example the mails are not working.
I only recieve an error mail from the backup server on my outlook.com address:

Why are the testmail and the errormail behaving different to the production mail?
EDIT:
I figured out what is happening:
Even though i disabled the mail-to-root notification target and remove it from the default-matcher it still gets beeing used.
As it's using sendmail it's taking the postfix-default-config which makes it send the mail directly with my personal IP instead of my smtp-relay.
Test notification used the relay as it should.
Question now is:
Why is it beeing used even though its disabled and not linked in the default-matcher?

Hope someone can clarify this for me
Regards
Alex
I have create a new notification target of type smtp using my smtp-relay.
When sending a testmail everything works as expected. I recieve the mail on my outlook.com account without any problems.
The relay is beeing used for other services without issues as well.
When PBS triggers a notification for prune or gc for example the mails are not working.
I only recieve an error mail from the backup server on my outlook.com address:

Why are the testmail and the errormail behaving different to the production mail?
EDIT:
I figured out what is happening:
Even though i disabled the mail-to-root notification target and remove it from the default-matcher it still gets beeing used.
As it's using sendmail it's taking the postfix-default-config which makes it send the mail directly with my personal IP instead of my smtp-relay.
Test notification used the relay as it should.
Question now is:
Why is it beeing used even though its disabled and not linked in the default-matcher?

Hope someone can clarify this for me

Regards
Alex
Last edited: