Hi all,

My computer needs to use proxy to access the website, but I don't know how
can let "msmtp"
to use proxy.

My .msmtprc is like this:

tls on
tls_certcheck off
host smtp.gmail.com
port 587
from xxx...@gmail.com
user xxxxxx
password xxxxxxxx
auth on

and I have set proxies in the environment variables:
export http_proxy="http://xxxxxxxx.com:8080/";
export https_proxy="https://xxxxxxxx.com:8080/";

>From the capture packet:
22:59:13.614187 IP (tos 0x0, ttl 64, id 41982, offset 0, flags [DF], proto
TCP (6), length 60)
    xx.xx.xx.xx.40999 > 64.233.178.109.submission: Flags [S], cksum 0xf96a
(incorrect -> 0x50ed), seq 157522949,

I can see the  "msmtp" send email to gmail server directly, not via the
proxy. So how can "msmtp" send
email via host proxy?

Thanks very much in advance!

Best Regards
Nan Xiao
------------------------------------------------------------------------------
_______________________________________________
msmtp-users mailing list
msmtp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to