最近部署了GSIL github敏感信息扫描 工具,扫描后无法发送邮件。
GSIL项目地址:https://github.com/FeeiCN/GSIL
提示的错误信息如下:
Traceback (most recent call last):
File "/usr/lib/python3.6/smtplib.py", line 387, in getreply
line = self.file.readline(_MAXLINE + 1)
File "/usr/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/GSIL/gsil/notification.py", line 67, in notification
s.ehlo()
File "/usr/lib/python3.6/smtplib.py", line 441, in ehlo
(code, msg) = self.getreply()
File "/usr/lib/python3.6/smtplib.py", line 391, in getreply
+ str(e))
smtplib.SMTPServerDisconnected: Connection unexpectedly closed: [Errno 104] Connection reset by peer
请问各位大佬遇见过这种问题吗?google了也没找到相关的解决办法,请各位大佬指教。谢谢。
换其他邮件服务器试试?