主题: lost connection after CONNECT from unknown[unknown]

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.94
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Ubuntu14.04
- 与您的问题相关的日志信息:/var/log/mail.log
====
出现大量的日志  平均 2-3秒一条,最近几天出现
May 22 06:52:35 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:35 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:52:37 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:52:37 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:37 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:52:41 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:52:41 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:41 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:52:43 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:52:43 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:43 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:52:47 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:52:47 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:47 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:52:49 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:52:49 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:49 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:52:53 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:52:53 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:53 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:52:55 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:52:55 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:55 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:52:59 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:52:59 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:52:59 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:53:01 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:53:01 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:53:01 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:53:05 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:53:05 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:53:05 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:53:07 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]
May 22 06:53:07 mail postfix/submission/smtpd[21651]: lost connection after CONNECT from unknown[unknown]
May 22 06:53:07 mail postfix/submission/smtpd[21651]: disconnect from unknown[unknown]
May 22 06:53:11 mail postfix/submission/smtpd[21651]: connect from unknown[unknown]

请问大概有那些原因会造成这个问题

回复: lost connection after CONNECT from unknown[unknown]

只表明:有人尝试连接你的服务器,但没有完成完整的 smtp 会话就断开连接了。

回复: lost connection after CONNECT from unknown[unknown]

有没有比较好的方式来限制对方尝试的次数而不影响系统,谢谢。

ZhangHuangbin 写道:

只表明:有人尝试连接你的服务器,但没有完成完整的 smtp 会话就断开连接了。

回复: lost connection after CONNECT from unknown[unknown]

fail2ban 里可以过滤相应的 log,并指定次数。具体请看 /etc/fail2ban/jail.local.