Hello, before the notification manager I simply sent my backup status mails via SMTP to the address defined in the job. With the “new” notification manager, I have built the following matcher so that the backup mails go to a specific mailbox:
This also works so far, but there is also the default matcher for all other notifications:
My problem now is that the backup mails also all go into the default-matcher channel, how can I prevent this? Negated regex is not allowed in the matcher.
Code:
matcher: Backup-Notification
match-field exact:type=vzdump
mode all
target backup
smtp: backup
from-address pve@example.org
mailto backup@example.org
mode starttls
server mx.example.org
username pve@example.org
This also works so far, but there is also the default matcher for all other notifications:
Code:
matcher: default-matcher
comment Route all notifications to mail-to-root
mode all
target admin
smtp: admin
from-address pve@example.org
mailto admin@example.org
mode starttls
server mx.example.org
username pve@example.org
My problem now is that the backup mails also all go into the default-matcher channel, how can I prevent this? Negated regex is not allowed in the matcher.
