ssmtp + proxy

E

esirenko

Guest
Hi, shinedbrained geeks

env: centos 7

Please explain me how it possible to make a friendship between ssmtp+mailx and remote auth-proxy ?

thing is i can ping smtp servers (custom and google's one) and traceroute it..., but 'mail' cant see it, telnet cant see it as well...



I can tune yum by editing its config, but ssmt do not have such options like:\
/etc/yum.conf:

proxy=address:port
proxy_username=linux
proxy_password=passw0rd

Is there any global option to pass all traffic\connections right through proxy?
 


in /etc/environment
Code:
http_proxy="http://proxysrv:8080/"
https_proxy="https://proxysrv:8080/"
ftp_proxy="ftp://proxysrv:8080/"
no_proxy=".mylan.local,.domain1.com,host1,host2"

shell settings:
Code:
export http_proxy="http://proxysrv:8080/"
export https_proxy="https://proxysrv:8080/"
export ftp_proxy="ftp://proxysrv:8080/"
export no_proxy=".mylan.local,.domain1.com,host1,host2"

for YUM to use the proxy:
Code:
proxy=http://proxysrv:8080/
 

Members online


Top