April 13, 20242 yr My suggestion appears to have been requested a couple times already using differing terms/references: As suggested by the last requestor, this is a relatively easy modification -- that could be fulfilled by simply allowing the "from" or "sender" name to be included in the existing field "Sending email address" under the SMTP Settings for Notification Settings. The specification is one of the following: Sender Name <[email protected]> "Sender Name" <[email protected]> "Sender Name <[email protected]>" Alternatively, a "new" field could be added under the SMTP Settings for Notifications Settings titled "Sending display name" keeping it consistent with current GUI terminology used in Unraid. Either way I think this feature is long overdue.
June 12, 20242 yr +1 for this! This feature exist in most other services that uses smtp email solutions. I have one gmail account that I only use for notifications from my servers and services. Yes, we have the subject prefix, but it is so much better to alter the sender name (author). Thanks!
June 9, 20251 yr On 3/2/2025 at 3:21 AM, PSYCHOPATHiO said:@cyberteer@b3rrytech@gustsantIts already available He's talking about this...The specification is one of the following: Sender Name <[email protected]>"Sender Name" <[email protected]>"Sender Name <[email protected]>"It doesn't work in Unraid. You can only put an email address in that field and not a name+email. It doesn't follow the spec.Also, +1 on this! Edited June 9, 20251 yr by cbdnk
January 24Jan 24 +1 as well. i usual useer scrpt plugn and custom use notify to edit and add some setting to make a=or set for the agetns, notfication and smtp settings. it would be nice to have some global setting to sentd to, subject etc to help fileter add and make unraid notfications a bit more robust.
July 11Jul 11 I finally got this working and wanted to post the results in case it helps someone else.There appear to be two different behaviors depending on how Unraid/sSMTP is configured.========================================SMTP TEST BUTTON ONLY========================================Editing:/boot/config/plugins/dynamix/dynamix.cfgChanging:root="[email protected]"To:root="SERVERNAME <[email protected]>"will change the display name shown when sending a TEST email from the Notifications page.This is because the Dynamix notification script builds the From header using the value stored in root=.However, after additional testing, this only affected the SMTP Test emails in my setup.========================================REAL ALERT EMAILS(SMART, Drive Temperature, etc.)========================================The configuration that worked for actual alert emails was:/etc/ssmtp/ssmtp.conf[email protected]FromLineOverride=NOThis setting alone causes emails to appear as "Console and webGui login account"Then edit the root account description in:/etc/passwdOriginal:root:x:0:0:Console and webGui login account:/root:/bin/bashExample:root:x:0:0:Unraid:/root:/bin/bashQuick check:grep '^root:' /etc/passwdExample change:sed -i 's/Console and webGui login account/Unraid/' /etc/passwd========================================RESULT========================================Email headers became:From: "Unraid" <[email protected]>And Outlook displays:Unraidinstead of:Console and webGui login accountor just the email address.========================================EASY TEST METHOD========================================To trigger a real alert, temporarily lower:Settings -> Disk Settings ->Default warning disk temperature threshold (°C)to a value below your current drive temperatures (I used 30°C).Wait a minute and Unraid will generate warning emails.========================================NOTES========================================- Tested with actual disk temperature alerts, not just SMTP test emails.- Changes to /etc/passwd may not survive updates or other system changes.- I have not verified whether future Unraid updates overwrite these settings.- Your mileage may vary depending on your mail provider.Hope this saves someone else the hours of troubleshooting I spent chasing it down. All for a display name change on an alert I hope to never see... :) Edited July 11Jul 11 by HairNutz
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.