使用交换和 SonicWall 配置 HA 代理
Configuring HA Proxy with exchange and SonicWall
我正在设置一个新的 HA 代理服务器(第一次遇到)并且在转发流量时遇到问题
它应该将 SMTP 流量转发到两个 SMTP 中继服务器和两个交换服务器 (IMAP)
Ubuntu 18.04.1 服务器上的版本是 1.8.8-1(HA 代理是唯一安装的东西)
SMTP和IMAP配置如下
frontend SMTP
bind 10.1.1.232:25 name smtp
mode tcp
option tcplog
default_backend SMTP
frontend IMAP4
bind 10.1.1.232:143 name imap
mode tcp
default_backend IMAP4
backend SMTP
mode tcp
server SWES 10.1.1.233:25 send-proxy check port 25
server POSTFIX 10.1.1.234:25 send-proxy check port 25
后端 IMAP4
模式TCP
服务器 Exc1 10.1.1.230:143 发送代理检查端口 143
服务器 Exc2 10.1.1.231:143 发送代理检查端口 143
Thunderbird 连接到两个端口时出现错误:
'This mail server is not an imap mail server' 和 'message could not be sent for an unknown reason'
远程登录到指定端口导致:
su@haproxy:/home$ telnet 10.1.1.232 25
Trying 10.1.1.232...
Connected to 10.1.1.232.
Escape character is '^]'.
220 mail.example.com ESMTP mail.example.com
502 5.5.1 Error: invalid command
和
su@haproxy:/home$ telnet 10.1.1.232 143
Trying 10.1.1.232...
Connected to 10.1.1.232.
Escape character is '^]'.
* OK The Microsoft Exchange IMAP4 service is ready.
PROXY BAD Command Error. 12
直接远程登录到目标主机没有任何错误
有没有人知道这些错误以及如何修复它们?
谢谢
显然 send-proxy
选项在 Sonic Wall Email Security 或 Exchange 上不受支持。
尚未使用 Postfix 测试该选项,但根据文档,Postfix 可与所述选项一起使用。
我正在设置一个新的 HA 代理服务器(第一次遇到)并且在转发流量时遇到问题
它应该将 SMTP 流量转发到两个 SMTP 中继服务器和两个交换服务器 (IMAP)
Ubuntu 18.04.1 服务器上的版本是 1.8.8-1(HA 代理是唯一安装的东西)
SMTP和IMAP配置如下
frontend SMTP
bind 10.1.1.232:25 name smtp
mode tcp
option tcplog
default_backend SMTP
frontend IMAP4
bind 10.1.1.232:143 name imap
mode tcp
default_backend IMAP4
backend SMTP
mode tcp
server SWES 10.1.1.233:25 send-proxy check port 25
server POSTFIX 10.1.1.234:25 send-proxy check port 25
后端 IMAP4 模式TCP 服务器 Exc1 10.1.1.230:143 发送代理检查端口 143 服务器 Exc2 10.1.1.231:143 发送代理检查端口 143
Thunderbird 连接到两个端口时出现错误: 'This mail server is not an imap mail server' 和 'message could not be sent for an unknown reason'
远程登录到指定端口导致:
su@haproxy:/home$ telnet 10.1.1.232 25
Trying 10.1.1.232...
Connected to 10.1.1.232.
Escape character is '^]'.
220 mail.example.com ESMTP mail.example.com
502 5.5.1 Error: invalid command
和
su@haproxy:/home$ telnet 10.1.1.232 143
Trying 10.1.1.232...
Connected to 10.1.1.232.
Escape character is '^]'.
* OK The Microsoft Exchange IMAP4 service is ready.
PROXY BAD Command Error. 12
直接远程登录到目标主机没有任何错误
有没有人知道这些错误以及如何修复它们?
谢谢
显然 send-proxy
选项在 Sonic Wall Email Security 或 Exchange 上不受支持。
尚未使用 Postfix 测试该选项,但根据文档,Postfix 可与所述选项一起使用。