Sign up here and you can log into the forum!

ssmtp-2.64-4 (+ mailx)

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

ssmtp-2.64-4 (+ mailx)   

Postby recliq » Thu Jun 17, 2010 3:09 pm

Ok,

I saw this mailx.app.bin a while ago but didn't care. Yesterday i did and tried it but noticed that there was no MTA on wdlxtv, so i wasn't able to actually send mails.
Also someone requested sSMTP for sending mails with asterisk voicemail running on wdtv.

So, here it is: sSMTP-2.64-4.app.bin
I included mailx in this app.bin so you don't need an extra app.bin for that (I took your binary CrashX, hope you don't mind). Also this is a cramfs image which is smaller than the prvious ext image of mailx.

INSTALL:
1) extract the appended archive to the root of your drive.
2) reboot/powercycle
3) after booting with this app.bin the first time, there will be 2 new configuration files created:
Code: Select all
/conf/ssmtp.conf
/conf/revaliases

You have to edit at least /conf/ssmtp.conf to fit your needs once!
After that issue a
Code: Select all
# config_tool -s

to save the changes to flash.

You can test if it works like this:
Code: Select all
echo "This is a little mail test." | mailx your@email.address


TODO:
- configuration via /conf/config and config_tool
Attachments
ssmtp-2.64-4.app.zip
sSMTP v2.64-4
+ mailx
(180.83 KiB) Downloaded 406 times
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: ssmtp-2.64-4 (+ mailx)   

Postby raphael » Thu Jul 08, 2010 12:30 am

Thanks a lot for the post and the app. ...

Unfortunately, it doesn't work with gmail as it requires ssl support.
Could you eventually recompile the app with additing ssl support?

Thanks a lot!

PS:
Code: Select all
echo "This is a little mail test." | mailx your@email.address
says app not found.
But using
Code: Select all
ssmtp your@email.address
then
Code: Select all
message
then Ctrl+d works (execpt for gmail as it needs ssl support)
raphael
n00b
 
Posts: 1
Joined: Tue Jul 06, 2010 6:01 am

Re: ssmtp-2.64-4 (+ mailx)   

Postby recliq » Thu Jul 08, 2010 3:47 am

i'll nhave a look at SSL support and why mailx is not found...
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: ssmtp-2.64-4 (+ mailx)   

Postby recliq » Sat Jul 10, 2010 12:41 pm

looks like ssmtp supports only TLS, but that should be already in the binary...

btw, heres a complete list of config options
    root
    The person who gets all mail for userids < 1000. Make this empty to disable rewriting.
    Mailhub
    The host to send mail to, in the form host | IP_addr [: port]. The default port is 25.
    RewriteDomain
    The domain from which mail seems to come. for user authentication.
    Hostname
    The full qualified name of the host. If not specified, the host is queried for its hostname.
    FromLineOverride
    Specifies whether the From header of an email, if any, may override the default domain. The default is ''no''.
    UseTLS
    Specifies whether ssmtp uses TLS to talk to the SMTP server. The default is ''no''.
    UseSTARTTLS
    Specifies whether ssmtp does a EHLO/STARTTLS before starting SSL negotiation. See RFC 2487.
    TLSCert
    The file name of an RSA certificate to use for TLS, if required.
    AuthUser
    The user name to use for SMTP AUTH. The default is blank, in which case SMTP AUTH is not used. sent without
    AuthPass
    The password to use for SMTP AUTH.
    AuthMethod
    The authorization method to use. If unset, plain text is used. May also be set to ''cram-md5''.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany


Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 2 guests