[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Fwd: Example of sendmail with -H 'exec openssl s_client ...
From: William Bernhardt <wbernha () gmail ! com>
Date: 2015-08-30 22:02:43
Message-ID: CAG2vPcKoAnWnkv5zWAEjEi7_7=EdxHiyekdYqMoN+9YxZzv89g () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hello,
I have been trying to find an example of using the sendmail applet in
busybox, for the following scenario:
./busybox sendmail -v wbernha@gmail.com -f wbernha@yahoo.com -S
smtp.gmail.com:587 -auxxxxx@gmail.com -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
[Attachment #5 (text/html)]
<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hello,<div><br></div><div>I \
have been trying to find an example of using the sendmail applet in busybox, for the \
following scenario:</div><div><br></div><div><div>./busybox sendmail -v <a \
href="mailto:wbernha@gmail.com" target="_blank">wbernha@gmail.com</a> -f wbern<a \
href="mailto:ha@yahoo.com" target="_blank">ha@yahoo.com</a> -S <a \
href="http://smtp.gmail.com:587" target="_blank">smtp.gmail.com:587</a> -<a \
href="mailto:auxxxxx@gmail.com" target="_blank">auxxxxx@gmail.com</a> -apxxxxxx < \
busybox.txt</div><div><br></div><div>sendmail: recv:'220 <a \
href="http://smtp.gmail.com" target="_blank">smtp.gmail.com</a> ESMTP \
n6sm8812015igv.17 - gsmtp'</div><div>sendmail: send:'EHLO \
RT-N56U'</div><div>sendmail: recv:'<a href="http://250-smtp.gmail.com" \
target="_blank">250-smtp.gmail.com</a> at your service, \
[99.105.8.14]'</div><div>sendmail: recv:'250-SIZE \
35882577'</div><div>sendmail: recv:'250-8BITMIME'</div><div>sendmail: \
recv:'250-STARTTLS'</div><div>sendmail: \
recv:'250-ENHANCEDSTATUSCODES'</div><div>sendmail: \
recv:'250-PIPELINING'</div><div>sendmail: \
recv:'250-CHUNKING'</div><div>sendmail: recv:'250 \
SMTPUTF8'</div><div>sendmail: send:'AUTH LOGIN'</div><div>sendmail: \
recv:'530 5.7.0 Must issue a STARTTLS command first. n6sm8812015igv.17 - \
gsmtp'</div><div>sendmail: AUTH LOGIN failed</div></div><div><br></div><div>I \
think I need to use the -H option:</div><div><br></div><div><div> -H 'exec \
openssl s_client -quiet -tls1 -starttls smtp</div><div> \
-connect <a href="http://smtp.gmail.com:25" \
target="_blank">smtp.gmail.com:25</a>' <email.txt</div><div> \
[4<username_and_passwd.txt | -auUSER -apPASS]</div></div><div><br></div><div>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?</div><div><br></div><div>Thanks very \
much.</div><div><br></div><div>Bill Bernhardt</div></div> </div><br></div>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic