Skip to content

Commit 092e3d4

Browse files
author
zhangjiangbin
committed
节点宕机邮件警告
1 parent eda5d27 commit 092e3d4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,15 @@ crontab -e
171171
],
172172
````
173173

174+
###### 发件失败处理
175+
````
176+
如果使用了逗比的ban_iptables.sh来防止用户发垃圾邮件,
177+
会导致出现 Connection could not be established with host smtp.exmail.qq.com [Connection timed out #110] 错误
178+
不是逗比的脚本有问题,是因为smtp发邮件必须用到25,26,465,587这四个端口
179+
可以编辑iptables,注释掉以下这段(前面加个#号就可以),然后保存并重启iptables
180+
#-A OUTPUT -p tcp -m multiport --dports 25,26,465,587 -m state --state NEW,ESTABLISHED -j REJECT --reject-with icmp-port-unreachable
181+
````
182+
174183
## 日志分析(仅支持单机单节点)
175184
````
176185
找到SSR服务端所在的ssserver.log文件

0 commit comments

Comments
 (0)