-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Been using smart_report.sh for a number of year including up to 24.04.2 (dragonfish). As of build 24.10.10 (electric eel), sendmail has been depreciated.
To work around, there's another project - https://github.com/oxyde1989/standalone-tn-send-email, which is a wrapper of sorts for truenas's built in email function.
To use this project, the only change I had to make to smart_report.sh was replace the sendmail line at the bottom of the script with
python3 sendmail.py --subject "SMART Status Report for ${freenashost}" --to_address ${email} --mail_body_html $logfile > /dev/null 2>&1
This assumes the python script from above is in the same directory as smart_report.sh.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels