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.

[SOLVED] SSMTP "From" Address

Featured Replies

Now that I finally upgraded from unRAID 4.7 to 5.0.6 I'm getting emails with what I perceive to be an odd "From" source.  With 4.7 all of the system emails sent to me by unRAID root came with a FROM address of [email protected].  Now they're coming with FROM showing up as "Console and webGui login account", which when I evaluate in my email does show the [email protected].

 

Is there a way to change this?  I know it's not a big deal, but I liked the previous format and I've been unable to figure out how to change this behavior.

 

Thanks!

You can try user usermod -c "" to remove the descriptive name of the root account.

 

root@unRAIDb:# grep root /etc/passwd
root:x:0:0:Console and webGui login account:/root:/bin/bash
root@unRAIDb:# usermod -c "" root   

root@unRAIDb:# grep root /etc/passwd
root:x:0:0::/root:/bin/bash

root@unRAIDb:# mail -v root
Subject: test mail from ssmtp

EOT
[->] EHLO unRAIDb
[<-] 250 HELP
[->] STARTTLS
[<-] 220 TLS go ahead
[->] EHLO unRAIDb
[<-] 250 HELP
.....
[->] MAIL FROM:<root@unRAIDb>
[<-] 250 OK
.....
[->] DATA
[<-] 354 Enter message, ending with "." on a line by itself
[->] Received: by unRAIDb (sSMTP sendmail emulation); Sun, 07 Dec 2014 23:28:05 -0500
[->] From: root@unRAIDb
[->] Date: Sun, 07 Dec 2014 23:28:05 -0500
[->] To: root
[->] Subject: test mail from ssmtp
.....
[->] QUIT

 

If you do not have mail or mailx installed you can pipe it to sendmail/ssmtp like this.

 

echo "Subject: Test Mail\n\n" | ssmtp -d root

  • Author

Thanks WeeboTech, that did the trick.  I've never been a Linux wizard.  :)

Archived

This topic is now archived and is closed to further replies.

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.