Mik*_*ike 10
确保 postfix 正在侦听端口 25 的外部 IP。默认情况下,它只查看 127.0.0.1:25
如果你有这个
inet_interfaces = localhost
Run Code Online (Sandbox Code Playgroud)
在该行前面放一个 # 并从中删除注释
#inet_interfaces = all
Run Code Online (Sandbox Code Playgroud)
然后重启postfix
service postfix restart
Run Code Online (Sandbox Code Playgroud)