zfs/cmd
heeplr 08b32c6fa9
zed: support subject as header in zed_notify_email()
Some minimal MUAs don't support passing the subjects as cmdline option.
This commit checks if "@SUBJECT@" is missing in ZED_EMAIL_OPTS and then
prepends a subject header to the notification message.
Also set a default for ${subject}.

Reviewed-by: Ahelenia Ziemia<C5><84>ska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Daniel Hiepler <d-git@coderdu.de>
Closes #13440
2022-05-18 10:27:53 -07:00
..
raidz_test autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zdb Remove enable_extended_FILE_stdio() 2022-05-11 10:33:12 -07:00
zed zed: support subject as header in zed_notify_email() 2022-05-18 10:27:53 -07:00
zfs Replace libzfs sharing _nfs() and _smb() APIs with protocol lists 2022-05-12 09:26:42 -07:00
zinject autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zpool zpool: max_width: monomorphise subtype iteration 2022-05-16 15:56:27 -07:00
zpool_influxdb autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zstream autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
arc_summary cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
arcstat.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
dbufstat.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
mount_zfs.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zfs_ids_to_path.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zgenhostid.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zhack.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
ztest.c ztest: O_CLOEXEC ztest_fd_rand 2022-05-11 10:33:12 -07:00
zvol_wait cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00