unraid_notify 2.55 [01-01-2010]: Email notifications for unRAID status


Recommended Posts

  • Replies 235
  • Created
  • Last Reply

Top Posters In This Topic

Hello

 

Sorry to Hijack into this thread. I wonder if someone can help me.

I have just completed a new server build, and am trying to get email notifications working.

 

I am unable to get any mails sent from my unraid box.

 

When performing an "unraid_notify -d"  this is the output

 

root@UPYMS001:~# unraid_notify -d

>

< 220 smtp141.mail.ukl.yahoo.com ESMTP

> EHLO UPYMS001

< 250 8BITMIME

> AUTH LOGIN

< 334 VXNlcm5hbWU6

>

< 334 UGFzc3dvcmQ6

> WjFsbDNydGFs

< 235 OK, go ahead

> MAIL FROM: <*****.*******@yahoo.co.uk>

< 250 OK , completed

> RCPT TO: <*****.*******@yahoo.co.uk>

< 250 OK , completed

> DATA

< 354 Start Mail. End with CRLF.CRLF

> .

< 451 Invalid Smtp line - Should end with CRLF

451 Invalid Smtp line - Should end with CRLF

 

 

Note that I have replaced my email address with *'s

 

I have also attached my cfg file to this post

All passwords and addresses have naturally been removed.

unraid_notify.cfg

Link to comment

Sorry, looks like my email notifications for this thread were disabled.

 

I would try changing the port from 25 to 587.    You could also try some of yahoo's other SMTP server; plus.smtp.mail.yahoo.co.uk, plus.smtp.mail.yahoo.com, etc.

 

Do these same SMTP configuration settings work for sending mail in another email client (Thunderbird, etc.)?

 

Link to comment

Hi Brainbone.

 

Many thanks for your reply.

 

I will try these suggestions later today.

I know the smtp.mail.yahoo.co.uk port 25 address does work. Because I also have a synology NAS box which

emails a daily backup report log to me using this address.

 

What interests me is this

 

< 451 Invalid Smtp line - Should end with CRLF

451 Invalid Smtp line - Should end with CRLF

 

which is listed right at the end of the unraid_notify -d output which I posted above.

It would appear that the system was connecting and authenticating ok, but that there was some problem with the email content.

 

 

Are there any other email utilities that I can use ?

I am only really interested in being emailed regarding errors with the RAID system (ie drive failure etc)

I don't need regular system information being emailed.

 

Regards

 

Pete

 

Link to comment
  • 2 months later...

1. It is only available as an attachment to the unRAID forum post, and you must log in to see the attachment, and unMENU's package manager has no way to "log in"

2. because it is maintained by somebody else as that attachment.

3. because it has the nearly identical capabilities as the ssmtp/mailx package in unMENU and since the "at" and "cron" commands cannot use a shell scripted mail command, so it does not work for those.  (They expect a true binary execuitable)

 

You can choose and install whichever you wish.  unraid_notify.sh is a great piece of coding.  Use it, or the mailx/ssmtp combination in unMENU, but not both.  (There are several periodic status packages in unMENU to get alerts when the array is abnormal or when disk temperature are rising above a threshold.)

 

 

Joe L.

Link to comment

I couldn't find anything in the package manager that talked about notifications?  I really want a web interface to modify notifications and the such.  I am not much of a linux guru and would prefer not to futz with a config file.  I guess I could edit it with unmenu since if you held a gun to my head and made me use vi I would be dead :)

 

Neil

 

Link to comment

I couldn't find anything in the package manager that talked about notifications?  I really want a web interface to modify notifications and the such. 

Look for:

unRAID Status Alert sent hourly by e-mail

and

unRAID Power-Down on disk overtemp

 

Both are configurable (to a degree) from the web-interface in the package-manager.

 

Joe L.

 

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.