You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: