cwr Posted January 2, 2010 Share Posted January 2, 2010 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? Quote Link to comment
brainbone Posted January 2, 2010 Author Share Posted January 2, 2010 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 Quote Link to comment
stchas Posted January 2, 2010 Share Posted January 2, 2010 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 Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 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? Quote Link to comment
prostuff1 Posted February 18, 2010 Share Posted February 18, 2010 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. Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 I put it in just like you had it but still no go. Quote Link to comment
brainbone Posted February 18, 2010 Author Share Posted February 18, 2010 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. Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 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. Quote Link to comment
brainbone Posted February 18, 2010 Author Share Posted February 18, 2010 That package works for me, but I suppose you could try the socat packages from slackware 12.2: http://repository.slacky.eu/slackware-12.2/utilities/socat/1.7.1.1/socat-1.7.1.1-i486-1bj.tgz Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 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:~# Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 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............. Quote Link to comment
brainbone Posted February 18, 2010 Author Share Posted February 18, 2010 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. Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 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 Quote Link to comment
brainbone Posted February 18, 2010 Author Share Posted February 18, 2010 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. Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 vista, for the download. and i will chage back to smtp istead of pop i was trying both Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 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.) Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 when I do and unraid_notify -d it just sits there. Quote Link to comment
brainbone Posted February 18, 2010 Author Share Posted February 18, 2010 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. Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 do this even though they are installing upon reboot and the appear to be good? Quote Link to comment
brainbone Posted February 18, 2010 Author Share Posted February 18, 2010 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. Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 its working must of had something to do with the vista Quote Link to comment
brainbone Posted February 18, 2010 Author Share Posted February 18, 2010 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". Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 Thanks for that I clicked on the remove message... hopefully its really gone. Quote Link to comment
screwonbudnik20 Posted February 18, 2010 Share Posted February 18, 2010 Thnak you very much for your assistance. Quote Link to comment
brainbone Posted February 18, 2010 Author Share Posted February 18, 2010 No problem. Glad its working for you. Quote Link to comment
Recommended Posts
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.