Hello Oxyde, no need to be sorry I indeed didnt have time to come back lately and I’m still having issues. To summarize my adventure so far, I made the email notifications from Truenas itself (from the WebUI) by adjusting my mailrise config (on my smtp relay). Emails are being sent without issue from truenas.
However unfortunately the emails from multi_report are still not working.
I decided to wipe my scripts folder clean and restart fresh. I git cloned the multi_report.sh script then updated it with “-update_all”. Then I ran the config, set my to & from emails and saved.
Finally running the script:
root@srv-nas01[/mnt/zpool/scripts/multi_report]# ./multi_report.sh
Multi-Report v3.31 dtd:2026-04-11 (TrueNAS SCALE - Goldeye 25.10.1)
Checking for Updates
Multi-Report - Installed: 3.31, GitHub: 3.31 - No Update Available
Drive-Selftest - Installed: 1.09, GitHub: 1.09 - No Update Available
Sendemail - Installed: 1.90, GitHub: 1.90 - No Update Available
SMR-Check - Installed: 2.0, GitHub: 2.0 - No Update Available
Disk Layout (render_case) - Installed: 0.17, GitHub: 0.17 - No Update Available
Running Drive Self-test Script: /mnt/zpool/scripts/multi_report/drive_selftest.sh
Joe’s SMART Drive Self-test Script - Run: 22 May 09:20:14 AM
Script Version: 1.09 (1 April 2026), TrueNAS Scale 25.10.1
Using “/mnt/zpool/scripts/multi_report/multi_report_config.txt” values…"
-—> Silent Enabled - Minimal Data and any Errors will be reported <----
----> You may experience prolonged silence, be patient <----
… Drive sde is still running a test: (80% remaining)
… 09:21:15.31: EXIT run_smart_test
Elapsed Time: 1 minutes and 1.03 seconds elapsed.
.. 09:21:25.23: EXIT run_smart_test
Elapsed Time: 1 minutes and 10.95 seconds elapsed.
Zzzz…
Exiting Joe’s SMART Drive Self-test Script
Collecting Multi-Report Data…
Using sendemail.py
Send Failed
Retrying in 120 seconds…
Retry Count: 1
Send Failed
Retrying in 120 seconds…
Retry Count: 2
Send Failed
Retrying in 120 seconds…
Retry Count: 3
Send Failed
Retrying in 120 seconds…
Retry Count: 4
Send Failed
Retrying in 120 seconds…
Retry Count: 5
Send Failed
Retrying in 300 seconds…
Retry Count: 6
Send Failed
Retrying in 300 seconds…
Retry Count: 7
Send Failed
Retrying in 300 seconds…
Retry Count: 8
Send Failed
Retrying in 300 seconds…
Retry Count: 9
Send Failed
Retrying in 300 seconds…
Retry Count: 10
Send Failed
Retrying in 300 seconds…
Retry Count: 11
Email sent to blabla@mailrise.xyz
HoweverI never got the email.
Mailrise logs
[2026-05-22 14:06:02] INFO:mail.log:('192.168.120.20', 37328) >> b'ehlo srv-nas01.localdomain'
[2026-05-22 14:06:02] INFO:mail.log:('192.168.120.20', 37328) >> b'mail FROM:<root@srv-nas01.localdomain> size=192751'
[2026-05-22 14:06:02] INFO:mail.log:('192.168.120.20', 37328) sender: root@srv-nas01.localdomain
[2026-05-22 14:06:02] INFO:mail.log:('192.168.120.20', 37328) >> b'rcpt TO:<blabla@mailrise.xyz>'
[2026-05-22 14:06:02] INFO:mailrise.skeleton:Added recipient: blabla@mailrise.xyz
[2026-05-22 14:06:02] INFO:mail.log:('192.168.120.20', 37328) recip: blabla@mailrise.xyz
[2026-05-22 14:06:02] INFO:mail.log:('192.168.120.20', 37328) >> b'data'
[2026-05-22 14:06:02] INFO:mailrise.skeleton:Accepted email: address: [ root@srv-nas01.localdomain ➤ blabla@mailrise.xyz ] subject: [ SMART Testing Results for srv-nas01 - All is Good ] body: [ Multi-Report v3.31 d (83.5K) ] attach: [ Disk_layout.html (10.2K), Old_multi_report_config.txt (32.8K), multi_report_config.txt (32.8K) ]
[2026-05-22 14:06:02] INFO:apprise:Applying Custom Defaults
[2026-05-22 14:06:02] INFO:apprise:Loaded 1 entries from memory://
[2026-05-22 14:06:02] INFO:apprise:Notifying 1 service(s) asynchronously.
[2026-05-22 14:06:03] WARNING:mailrise.skeleton:Notification failed: address: [ root@srv-nas01.localdomain ➤ blabla@mailrise.xyz ] subject: [ SMART Testing Results for srv-nas01 - All is Good ] body: [ Multi-Report v3.31 d (83.5K) ] attach: [ Disk_layout.html (10.2K), Old_multi_report_config.txt (32.8K), multi_report_config.txt (32.8K) ]
[2026-05-22 14:06:03] INFO:mail.log:('192.168.120.20', 37328) >> b'rset'
[2026-05-22 14:06:03] INFO:mail.log:('192.168.120.20', 37328) >> b'QUIT'
[2026-05-22 14:06:03] INFO:mail.log:('192.168.120.20', 37328) connection lost
[2026-05-22 14:06:03] INFO:mail.log:('192.168.120.20', 37328) Connection lost during _handle_client()
[2026-05-22 14:07:10] INFO:mail.log:Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin)
[2026-05-22 14:07:10] INFO:mail.log:Peer: ('172.23.0.1', 58388)
[2026-05-22 14:07:10] INFO:mail.log:('172.23.0.1', 58388) handling connection
[2026-05-22 14:07:10] INFO:mail.log:('172.23.0.1', 58388) EOF received
[2026-05-22 14:07:10] INFO:mail.log:('172.23.0.1', 58388) Connection lost during _handle_client()
[2026-05-22 14:07:10] INFO:mail.log:('172.23.0.1', 58388) connection lost
Then I tried sendemail.py with –test_mode as you previously suggested:
root@srv-nas01[/mnt/zpool/scripts/multi_report]# python3 sendemail.py --test_mode
Activating test mode
{“version”: “1.90”, “error”: true, “detail”: “KO: (450, b’failed to send notification’)”, “logfile”: “/mnt/zpool/scripts/multi_report/sendemail_log/20260522_102719.txt”, “total_attach”: 1, “ok_attach”: 0}
However when I add “–zip_attachments” it works, mailrise accepts the email, and forwards it to my external email provider!
root@srv-nas01[/mnt/zpool/scripts/multi_report]# python3 sendemail.py --test_mode --zip_attachments
Activating test mode
{“version”: “1.90”, “error”: false, “detail”: "<< Email Sent >> ", “logfile”: “/mnt/zpool/scripts/multi_report/sendemail_log/20260522_101644.txt”, “total_attach”: 1, “ok_attach”: 1}
The log file
TEST MODE ON
Script Version: 1.90
Entering template render. Scale/Core switch needed
search for test_message template on REPO
reading template
templates loaded
applying iteration
trying to expands iterated vars
nothing to iterate found
File /mnt/zpool/scripts/multi_report/sendemail_log/20260522_101644.txt successfully generated
14 totals file log
1 totals attachment to handle
trying read mail.config
read mail.config successfully
Switching for the right provider
** SMTP Version - without login **
From found
parsing smtp config
switch from classic send and bulk email
mail body provided
mail body type html provided
parsing content
body can’t be a file, too much long
trying apply a template
no template provided
start parsing headers
parsing data from config and override options
using mr-config fromname-email
generate a message ID using blablabla
domain: blabla.com
uuid: 2026_05_22_10_16_45_545ac71b238-b65d-4207-849e-14d2da17ddfc
messageid: [2026_05_22_10_16_45_545ac71b238-b65d-4207-849e-14d2da17ddfc@blabla.com](mailto:2026_05_22_10_16_45_545ac71b238-b65d-4207-849e-14d2da17ddfc @ blabla .com)
check for attachements…
attachments found
symlink verification for /mnt/zpool/scripts/multi_report/sendemail_log/20260522_101644.txt pass
size verification for /mnt/zpool/scripts/multi_report/sendemail_log/20260522_101644.txt pass
blacklist verification for /mnt/zpool/scripts/multi_report/sendemail_log/20260522_101644.txt pass
attachment valid /mnt/zpool/scripts/multi_report/sendemail_log/20260522_101644.txt
Found 1 valid files
zip mode enabled
Im going to wait for your reply before trying anything else. To be honest I am not sure why there’s such a conflict between the scrip and mailrise with attachments. At least, my suspicion is on the attachments…..