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.

Having trouble with sending mail...

Featured Replies

Here are the fields I am using...

 

Forward root email:  [email protected]

email server: smtp.comcast.net  I assume this is the outgoing server????

USE TLS: NO

Mail ID: blank

Mail Password: blank  My outgoing doesn't need authentication since I'm ON the Comcast network.

Mail Domain: localhost

From Line Override: YES

Re-write domain:

 

 

The only way right now I know how to test a sendmail is to goto the user scripts page and then at the bottom there is a test button. When I hit the test button at the botton it says: Mail being sent to root.  With any luck, it will be forwarded properly.

 

 

Anyone see anything wrong here? I want to make sure unRAID emails me if there is a hard drive issue or anything wrong. Also, if possible to multiple addresses?

 

 

 

Here are the fields I am using...

 

Forward root email:  [email protected]

email server: smtp.comcast.net   I assume this is the outgoing server????

USE TLS: NO

Mail ID: blank

Mail Password: blank   My outgoing doesn't need authentication since I'm ON the Comcast network.

Mail Domain: localhost

From Line Override: YES

Re-write domain:

 

 

The only way right now I know how to test a sendmail is to goto the user scripts page and then at the bottom there is a test button. When I hit the test button at the botton it says: Mail being sent to root.  With any luck, it will be forwarded properly.

 

 

Anyone see anything wrong here? I want to make sure unRAID emails me if there is a hard drive issue or anything wrong. Also, if possible to multiple addresses?

 

 

 

At the top of the unMENU package is this:

To test the basic configuration of ssmtp, type the following command:

echo -e "Subject: a test\n\nThis is the email body." | ssmtp -d root

 

Guess you missed it.

 

It will enable the debugging mode and let you see the transaction between you and your e-mail server.

 

ssmtp will forward root's email to one address.  You can use mail to send to multiple addresses.

 

Joe L.

  • Author

Here are the results. From what it looks like it did send something, but it is not showing up in my inbox, which I know is working ok.

 

 

 

 

 

[<-] 220 omta15.westchester.pa.mail.comcast.net comcast ESMTP server ready

[->] HELO localhost

[<-] 250 omta15.westchester.pa.mail.comcast.net hello [68.39.148.177], pleased to meet you

[->] MAIL FROM:<root@localhost>

[<-] 250 2.1.0 <root@localhost> sender ok

[->] RCPT TO:<[email protected]>

[<-] 250 2.1.5 <[email protected]> recipient ok

[->] DATA

[<-] 354 enter mail, end with "." on a line by itself

[->] Received: by localhost (sSMTP sendmail emulation); Tue, 18 Jan 2011 23:07:55 -0500

[->] From: root@localhost

[->] Date: Tue, 18 Jan 2011 23:07:55 -0500

[->]

[->] .

[<-] 250 2.0.0 xG7w1f00D3pswqC3bG7wJL mail accepted for delivery

[->] QUIT

[<-] 221 2.0.0 omta15.westchester.pa.mail.comcast.net comcast closing connection

root@sun:~#

 

Here are the results. From what it looks like it did send something, but it is not showing up in my inbox, which I know is working ok.

I agree, it looks like it is working.

 

You might try comcast.net instead of localhost in your settings.

 

At least you can see how to debug the connection.

  • Author

Very hard to troubleshoot when the log looks like it is working. I did change the localhost to Comcast.net and it came back with. Looks like it doesn't know who [email protected] is. But that is besides the point since when I change it back to localhost it emulates it is sending mail out. Is that all I need to install is the MAIL package for this?

 

root@sun:~# root@sun:~# echo -e "Subject: a test\n\nThis is the email body." | ssmtp -d root

-bash: root@sun:~#: command not found

[<-] 220 omta05.westchester.pa.mail.comcast.net comcast ESMTP server ready

[->] HELO comcast.net

[<-] 250 omta05.westchester.pa.mail.comcast.net hello [68.39.148.177], pleased to meet you

[->] MAIL FROM:<[email protected]>

[<-] 550 5.1.0 Not our Customer

ssmtp: 550 5.1.0 Not our Customer

root@sun:~#

 

 

  • Author

Very strangely I couldn't get the sendmail to work at all with my ISP SMTP's server. I had to configure the sendmail to use my domain hosting domain and password to send the mail out. It does send the test message now.

 

Now I installed the Alert Status package and used the defaults. Besides using that particular package is there anything else that can be installed? For instance if a disk does go down can I have the sendmail send an email right away instead of waiting? Also, where can I add multiple email addresses to send out?

 

 

Very strangely I couldn't get the sendmail to work at all with my ISP SMTP's server. I had to configure the sendmail to use my domain hosting domain and password to send the mail out. It does send the test message now.

 

Now I installed the Alert Status package and used the defaults. Besides using that particular package is there anything else that can be installed? For instance if a disk does go down can I have the sendmail send an email right away instead of waiting?

Not at this time.  We'll have more events to use as triggers in unRAID 5.0.  Right now status is checked hourly.

Also, where can I add multiple email addresses to send out?

ssmtp can forward "root's" mail to only one address, but any individual command you install can send to multiple addresses.

So, instead of sending the Status Alert to "root", send it to "email1@server email2@server"

(I think it uses spaces as delimiters between the addresses)

 

 

  • Author

Well the hourly alert email only sent one message out. I checked the syslog and there wasn't anything in it, so it didn't even try to send anything out. I just checked the settings on the alert status and they looked good. I'll reboot the server and see what's up. The way to tell a job is there is to check the cron folders, right?

 

**Update***

I guess I must have forgot to hit the reinstall on reboot button. I found the package was not reinstalling. Tomorrow/today is another day!

 

Does this package send out an email if a drive goes bad? That would be key of course. As it does temperature already it looks like.

 

Does this package send out an email if a drive goes bad? That would be key of course. As it does temperature already it looks like.

The possible message content from that package includes:

"Array Offline"

"Parity Check In Progress"

"Disk Disabled or Invalid"

"Disk Temperature"  (when over threshold)

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.