您的位置:首页 > 其它

使用 Xinetd 端口代理

2016-01-22 20:21 615 查看
使用 Xinetd 端口代理 Gmail 的 SMTP:
此法针对客户端,Web 端请自己想办法
yum install -y xinetd

cat /etc/xinetd.d/qqmail
service smtp-465
{
type = UNLISTED
port = 465
bind = 0.0.0.0
socket_type = stream
wait = no
user = nobody
redirect = smtp.exmail.qq.com 465
per_source = UNLIMITED
cps = 100 2
}
service smtp-587
{
type = UNLISTED
port = 587
bind = 0.0.0.0
socket_type = stream
wait = no
user = nobody
redirect = smtp.exmail.qq.com 587
per_source = UNLIMITED
cps = 100 2
}


修改本地host指向代理即可通过客户端发邮件:
xxx.xxx.xxx.xxx smtp.exmail.qq.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  代理 Xinetd; 端口