Hello,
I'm trying to set notifications to only be send on error, warn, unknown severity. But I get an email on every successful sync.
If I set the severity to error, warn I still get an email.
Even if I disable all matchers and all targets, I still get an email for successful sync.
I don't get an email for other successful jobs like prune.
Looking at the email headers I noticed that the email was sent directly from the pbs server, and not as intended through the smtp target.
Looking at the syslog in the administration page, I can't see anything at the time of my tests.
I'm trying to set notifications to only be send on error, warn, unknown severity. But I get an email on every successful sync.
If I set the severity to error, warn I still get an email.
Even if I disable all matchers and all targets, I still get an email for successful sync.
I don't get an email for other successful jobs like prune.
Looking at the email headers I noticed that the email was sent directly from the pbs server, and not as intended through the smtp target.
Looking at the syslog in the administration page, I can't see anything at the time of my tests.
Job ID: s-45cf44da-b29e
Datastore: usb
Local Source Store: pool0
Synchronization successful.
Please visit the web interface for further details:
<https://pbs7.s1.mydomain.example:8007/#DataStore-usb>
Datastore: usb
Local Source Store: pool0
Synchronization successful.
Please visit the web interface for further details:
<https://pbs7.s1.mydomain.example:8007/#DataStore-usb>
proxmox-backup: 3.3.0 (running kernel: 6.8.12-5-pve)
proxmox-backup-server: 3.3.2-1 (running version: 3.3.2)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.12-5
proxmox-kernel-6.8.12-5-pve-signed: 6.8.12-5
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
proxmox-kernel-6.8.4-2-pve-signed: 6.8.4-2
ifupdown2: 3.2.0-1+pmx11
libjs-extjs: 7.0.0-5
proxmox-backup-docs: 3.3.2-1
proxmox-backup-client: 3.3.2-1
proxmox-mail-forward: 0.3.1
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.7
proxmox-widget-toolkit: 4.3.3
pve-xtermjs: 5.3.0-3
smartmontools: 7.3-pve1
zfsutils-linux: 2.2.6-pve1
proxmox-backup-server: 3.3.2-1 (running version: 3.3.2)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.12-5
proxmox-kernel-6.8.12-5-pve-signed: 6.8.12-5
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
proxmox-kernel-6.8.4-2-pve-signed: 6.8.4-2
ifupdown2: 3.2.0-1+pmx11
libjs-extjs: 7.0.0-5
proxmox-backup-docs: 3.3.2-1
proxmox-backup-client: 3.3.2-1
proxmox-mail-forward: 0.3.1
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.7
proxmox-widget-toolkit: 4.3.3
pve-xtermjs: 5.3.0-3
smartmontools: 7.3-pve1
zfsutils-linux: 2.2.6-pve1
Code:
smtp: pmg
from-address pbs7@mydomain.example
mailto-user root@pam
mode insecure
port 26
server pmg1.s1.mydomain.example
sendmail: mail-to-root
comment Send mails to root@pam's email address
disable true
mailto-user root@pam
matcher: default-matcher
comment Route everything but successful prune job notifications to mail-to-root
disable true
invert-match true
match-field exact:type=prune
match-severity info
mode all
target mail-to-root
matcher: warn
match-severity warning,error,unknown
mode all
target pmg
Code:
sync: s-45cf44da-b29e
ns
owner root@pam
remote-ns
remote-store pool0
remove-vanished false
schedule 13:00
store usb