postfix 反向代理获取发送用户真实ip

1 .frp反向代理设置支持proxy_protoco协议

proxy_protocol_version = v1

2.postfix配置文件master.cf

对应端口加上:

-o smtpd_upstream_proxy_protocol=haproxy

 
喜欢 0
分享