Hello, I have been trying to find an example of using the sendmail applet in busybox, for the following scenario:
./busybox sendmail -v [email protected] -f [email protected] -S smtp.gmail.com:587 [email protected] -apxxxxxx < busybox.txt sendmail: recv:'220 smtp.gmail.com ESMTP n6sm8812015igv.17 - gsmtp' sendmail: send:'EHLO RT-N56U' sendmail: recv:'250-smtp.gmail.com at your service, [99.105.8.14]' sendmail: recv:'250-SIZE 35882577' sendmail: recv:'250-8BITMIME' sendmail: recv:'250-STARTTLS' sendmail: recv:'250-ENHANCEDSTATUSCODES' sendmail: recv:'250-PIPELINING' sendmail: recv:'250-CHUNKING' sendmail: recv:'250 SMTPUTF8' sendmail: send:'AUTH LOGIN' sendmail: recv:'530 5.7.0 Must issue a STARTTLS command first. n6sm8812015igv.17 - gsmtp' sendmail: AUTH LOGIN failed I think I need to use the -H option: -H 'exec openssl s_client -quiet -tls1 -starttls smtp -connect smtp.gmail.com:25' <email.txt [4<username_and_passwd.txt | -auUSER -apPASS] But I don't know how to combine this with the options I already have specified. Or how the authentication is specified for the opensl command. Is there a complete example of using the 'exec openssl' command as a -H option to the busybox sendmail applet? Thanks very much. Bill Bernhardt
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
