Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SMTP Notifications - Allow the Sender or From Name to be included/configured

Featured Replies

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.

 

  • 1 month later...

+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!

  • 8 months later...

+1 on this.

  • 3 months later...
On 3/2/2025 at 3:21 AM, PSYCHOPATHiO said:

@cyberteer@b3rrytech@gustsant

Its already available

 

firefox_orhdULszrP.png

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 by cbdnk

  • 7 months later...

+1 for this!

  • 2 weeks later...

+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.

  • 5 months later...

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.cfg

Changing:

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=NO

This setting alone causes emails to appear as "Console and webGui login account"

Then edit the root account description in:

/etc/passwd

Original:

root:x:0:0:Console and webGui login account:/root:/bin/bash

Example:

root:x:0:0:Unraid:/root:/bin/bash

Quick check:

grep '^root:' /etc/passwd

Example change:

sed -i 's/Console and webGui login account/Unraid/' /etc/passwd

========================================

RESULT

========================================

Email headers became:

From: "Unraid" <[email protected]>

And Outlook displays:

Unraid

instead of:

Console and webGui login account

or 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 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.