问题描述:内网对外发送邮件
准备工作:
停用postfix服务
service postfix stop
chkconfig postfix off
nginx 需要配置的模块:--with-mail --with-stream
配置:
# 邮件smtp代理
stream{
server {
listen 8000;
proxy_pass youemailhost.com:25;
}
}
问题描述:内网对外发送邮件
准备工作:
停用postfix服务
service postfix stop
chkconfig postfix off
nginx 需要配置的模块:--with-mail --with-stream
配置:
# 邮件smtp代理
stream{
server {
listen 8000;
proxy_pass youemailhost.com:25;
}
}