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.

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

Featured Replies

if i left RcptTo blank and set an email addr for ErrorRcptTo in the .cfg file, would i only receive emails when there is an error in that case?

  • Replies 235
  • Views 81.4k
  • Created
  • Last Reply
  • Author

if i left RcptTo blank and set an email addr for ErrorRcptTo in the .cfg file, would i only receive emails when there is an error in that case?

 

Yes.

 

You can test to make sure its working by forcing an error notification using:

 

unraid_notify -d -e -f

 

I'll wait for feedback on v2.55 before I replace 2.54 in the top post.

 

After additional testing of the Mail v0.4 script, I discovered it always went through the ["root"] forwarding logic, regardless of recipient.  Corrections attached. 

 

Kevin

 

  • 1 month later...

I have followed the directions in the first post and it will not start for me. Says command not found. I put the tgz and the gz file im my packages folder. I modified my go file to this ....

 

#!/bin/bash

# Start the Management Utility

/usr/local/sbin/emhttp &

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

/boot/unmenu/uu

installpkg /boot/packages/socat-1.7.0.0-i486-2bj.tgz

installpkg /boot/packages/unraid_notify-2.54-noarch-unRAID.tgz

unraid_notify start

 

 

I think it might have something to do with my go file but am not sure?

I have followed the directions in the first post and it will not start for me. Says command not found. I put the tgz and the gz file im my packages folder. I modified my go file to this ....

 

#!/bin/bash

# Start the Management Utility

/usr/local/sbin/emhttp &

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

/boot/unmenu/uu

installpkg /boot/packages/socat-1.7.0.0-i486-2bj.tgz

installpkg /boot/packages/unraid_notify-2.54-noarch-unRAID.tgz

unraid_notify start

 

 

I think it might have something to do with my go file but am not sure?

 

If I remember correctly there is a slight problem with starting unmenu via the go script and then it taking over the console (or something to that effect) so that nothing else after it gets run.  I am fairly sure I have the wording wrong but the gist is there.  Make your go script look like this:

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c 
echo "/boot/unmenu/uu" | at now + 1 minute
installpkg /boot/packages/socat-1.7.0.0-i486-2bj.tgz
sleep 5
installpkg /boot/packages/unraid_notify-2.54-noarch-unRAID.tgz
sleep 5
unraid_notify start

 

The sleep commands might not be 100% needed but they won't really hurt anything.  The echo "boot/unmenu/uu" | at now + 1 minute part will start unmenu 1 minute after that line is run.  That should be more than enough time for the rest of the lines to run and get started.

I put it in just like you had it but still no go.

  • Author

Try executing the commands:

installpkg /boot/packages/socat-1.7.0.0-i486-2bj.tgz

installpkg /boot/packages/unraid_notify-2.54-noarch-unRAID.tgz

unraid_notify start

 

In a telnet session on the unraid server.

 

Ok I got the notify .tgz to install but the socat file that I downloaded from the link provided is a .gz file and even with change the install file to match that it still wont install.

 

 

where to go from here

 

 

root@Tower:~# unraid_notify -d -e -f

>

< 220 mx.google.com ESMTP 33sm7778411vws.13

> EHLO Tower

< 250 PIPELINING

> AUTH LOGIN

< 530 5.7.0 Must issue a STARTTLS command first. 33sm7778411vws.13

530 5.7.0 Must issue a STARTTLS command first. 33sm7778411vws.13

 

 

 

 

root@Tower:~# installpkg /boot/package/socat-1.7.0.0-i486-2bj.gz

Cannot install /boot/package/socat-1.7.0.0-i486-2bj.gz:  file does not end in .tgz, .tbz, .tlz, or .txz

 

root@Tower:~#

 

ok moving along I got both of the packages installed.

 

but this is what i get when i do a test

 

root@Tower:~# unraid_notify -d -e -f

>

 

and it just sits there.............

  • Author

What socat package are you using?

 

Post your unaid_notify.cfg file (without are email address & password of course), just in case there is an issue there.

 

I'm using socat-1.7.0.0-i486-2bj.tgz for some reason when you download it it doesnt have the t in front of the g in the extension. put that there and it works.

 

config.txt

  • Author

You should probably change your smtp server to "smtp.gmail.com", but I just tested pop.gmail.com, and it appeared to work.

 

Just downloaded the linked socat package again, and it keeps tgz intact for me.  What are you using to download it?  I would grab it again, in case something is not right with the package.

 

vista, for the download. and i will chage back to smtp istead of pop i was trying both

if i click on the link in this sentence i get a file that ends in .gz

 

- Supports SMTPS / SSL / Secure SMTP if socat package is installed. (Allows use of Gmail, etc.)

 

 

when I do and unraid_notify -d it just sits there.

  • Author

Interesting.  In Firefox, I get .tgz, in IE, I get .gz.   Not sure what's happening there, but both files appear to be the same (same file size), sans the name.

 

Either way, you should be able to pull it directly to your unraid server with:

wget -P /boot/package http://repository.slacky.eu/slackware-12.1/utilities/socat/1.7.0.0/socat-1.7.0.0-i486-2bj.tgz

 

If you can, remove the entries from your go file, restart your unraid server and try installing socat/unarid again from telnet.

 

do this even though they are installing upon reboot and the appear to be good?

 

  • Author

If you're sure the packages are installing on reboot, then no.  That it just sits there makes me think something is wrong with the installation of the socat package.

 

"unraid_notify -d -f -e" should show the smtp session.

 

 

its working must of had something to do with the vista

  • Author

Looks like it's working then.

 

Note that the log  you posted does contain your gmail username and password (Y....t) in a relatively easily retrievable form.  You should probably edit that post to mask your email address and the line following "334 VXNlcm5hbWU6", beginning with "Y".

 

Thanks for that I clicked on the remove message... hopefully its really gone.

Thnak you very much for your assistance.

  • Author

No problem.  Glad its working for you.

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.