HomeFreeBSD

Fixed zfs_notify_email for programs like sendmail

Description

Fixed zfs_notify_email for programs like sendmail

zfs_notify_email will now include an empty line separating the header
from the body of the email in case the subject is not provided via a
command line argument. This is necessary for programs like sendmail to
function correctly (everything up to the first empty line is interpreted
as header, which previously resulted in either missing message parts or
unsent emails)

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Felix Schmidt <felixschmidt20@aol.com>
Closed #17238

Details

Provenance
IIIPr0t0typ3III <f.sch.prototype@gmail.com>Authored on Apr 12 2025, 3:58 PM
GitHub <noreply@github.com>Committed on Apr 12 2025, 3:58 PM
Parents
rG5ab601771c9b: config: fix ZFS_LINUX_TEST_RESULT_SYMBOL with --enable-linux-builtin
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG189dc26296b3: Fixed zfs_notify_email for programs like sendmail (authored by IIIPr0t0typ3III <f.sch.prototype@gmail.com>).Apr 12 2025, 3:58 PM