Email notification wont work with : zfs zed and mail

lxiosjao

Active Member
Mar 21, 2021
64
1
28
Hi,
I use postfix for the notifications email.
I would like to have notification with zfs scrub but it doesn't work.
I think the mail added in /etc/pve/datacenter.cfg is not used by zfs-zed.

/etc/zfs/zed.d/zed.rc
Code:
ZED_EMAIL_ADDR="myemail@domain.tld"

When I try to use scrub, the mail from is root@mylocaldomain :

Code:
postfix/qmgr: from=<root@pve.home.lan>, size=871, nrcpt=1 (queue active)

Any idea ?

note : Backup notification is working like a charm.
 
Last edited: