Hello, On 20.08.15 16:57, Nan Xiao wrote: >Firstly, thanks very much for your answer!
seem's I'm very late with this one... >I download and update the newest msmtp(v1.6.2), and update the .msmtprc >configure file >(Add proxy and logfile): > >tls on >tls_certcheck off >host smtp.gmail.com >port 587 >proxy_host xxxxxxxx.com <http://web-proxy.corp.hp.com> >proxy_port 8080 >from xxx...@gmail.com >user xxxxxx >password xxxxxxxx >auth on >logfile - >timeout 45 > >Then I retry msmtp command, and the final error is like this: > >msmtp: network read error: the operation timed out >msmtp: could not send mail (account default from /root/.msmtprc) >Aug 20 04:45:56 host=smtp.gmail.com tls=on auth=on user=xxxxxx from= >xxx...@gmail.com recipients=xxx...@xxx.com errormsg='network read error: >the operation timed out' exitcode=EX_IOERR > >>From the capture packet, it seems the after establishing TCP connection, >the msmtp >will not send the content. > >The attachment is the capture packet. it seems that the proxy is not a SOCKS proxy, but a HTTP proxy. afaik msmtp only supports socks proxy for now. for HTTP proxy you must use something like proxychains wrapper. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Chernobyl was an Windows 95 beta test site. ------------------------------------------------------------------------------ _______________________________________________ msmtp-users mailing list msmtp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msmtp-users