Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I'm trying to figure out the /usr/sbin/email executable. I'd like to use it in my cron script to notify me when a job is done... but i can't figure out the syntax. It's used by the web gui to send notification emails, and i think is a nonstandard app.
# email -h email: option requires an argument -- h email v1.02.02212006 usage: email -m mode [-s Saddr] [-d Daddr] [-h HostServer] [-p port] [-a auth] [-u uname] [-w passwd] [-i interval] [-t test] [-c capacity] [-f free]
I tried piping a test message to it using sender/destination address, smpt host and port... which is all i should need, but nothing get's sent... and there is no diagnostic message.
There is an /etc/email.conf file... but doens't reveal much.
Does anyone know if i can use this to send e-mails out ? or should i look at compiling an alternative... if so, any suggestions what app i should use that would work best with the DNS-323 ?
Would the ssmtp app as part of the busybox tinyutils be better ?
Thanks in advance...
Last edited by dayre (2007-04-03 06:30:26)
Has anyone figured out how to make the DNS-323 send an email triggered by a user script?
Anyone tried compiling ssmtp ftp://ftp.debian.org/debian/pool/main/s/ssmtp for the DNS-323?
Last edited by mig (2007-06-09 20:17:32)
I was able to successfully have the /usr/sbin/email program work in test mode. Here's the command-line I used, based on the /etc/email.conf values that the web interface fills in:
/usr/sbin/email -m 38 -s firstname.lastname@example.org -d email@example.com -h smtp.usfamily.net -p 25 -a 1 -u firstname.lastname@example.org -w mypassword -i 0 -t test
I played around with trying to have it send my own specified message body, but I could only get it to send the test message.
Fortunately, I found an alternative (telnet) that works just fine for sending emails triggered by scripts. Here's the thread with details:
http://forum.dsmg600.info/t1145-Script- … enent.html