sendmail help

Vladimir Dronnikov dronnikov at gmail.com
Wed Feb 25 06:18:23 UTC 2009


Hi, Frank!

2009/2/25 Frank Ianella <fjianella at gmail.com>:
> i am trying to use the sendmail applet to relay to smtp.gmail.com but
> cannot figure out the neccessary command syntax.
>

You can try working:
$ sendmail -H "exec openssl s_client -quiet -connect smtp.gmail.com:25
-tls1 -starttls smtp" -f user at gmail.com -F "Your real name here (pure
optional)"

You'll be prompted for password, or you can pass you credentials (two
lines file: username, password) to fd 4 like:
$ sendmail -H "exec openssl s_client -quiet -connect smtp.gmail.com:25
-tls1 -starttls smtp" -f user at gmail.com -F "Your real name here (pure
optional)" 4<.your_cred_file

Notice "exec, -quiet, no -crlf and -tls1".

Regards,
--
Vladimir


More information about the busybox mailing list