电子邮件速率限制exim

电子邮件速率限制exim

服务器1发送至服务器2:

Connecting to domain.com [1.1.1.1]:25 ... connected
  SMTP<< 451 Temporary local problem - please try later
  SMTP>> QUIT
LOG: MAIN
  SMTP error from remote mail server after initial connection: host domain.com [1.1.1.1]: 451 Temporary local problem - please try later
LOG: MAIN
  == [email protected] R=dkim_lookuphost T=dkim_remote_smtp defer (0): SMTP error from remote mail server after initial connection: host domain.com [1.1.1.1]: 451 Temporary local problem - please try later
LOG: queue_run MAIN
  End queue run: pid=42746 -qff

服务器2:

2013-02-13 19:35:07 1U5mn3-0006KF-Ft Completed
2013-02-13 19:38:36 SMTP connection from [1.1.1.1]:10702 (TCP/IP connection count = 1)
2013-02-13 19:38:36 no IP address found for host 1.1.1.1.choopa.net (during SMTP connection from [1.1.1.1]:10702)
2013-02-13 19:38:36 H=(host.domain.com) [1.1.1.1]:10702 F=<> rejected RCPT <[email protected]>: "
2013-02-13 19:38:37 H=(host.domain.com) [1.1.1.1]:10702 F=<> rejected RCPT <[email protected]>: "
2013-02-13 19:38:37 H=(host.domain.com) [1.1.1.1]:10702 F=<> rejected RCPT <[email protected]>: "
2013-02-13 19:38:37 H=(host.domain.com) [1.1.1.1]:10702 F=<> rejected RCPT <[email protected]>: "
2013-02-13 19:38:37 H=(host.domain.com) [1.1.1.1]:10702 Warning: "Detected session with all messages failed"
2013-02-13 19:38:37 H=(host.domain.com) [1.1.1.1]:10702 Warning: "Increment slow_fail_block Ratelimit - (host.domain.com) [1.1.1.1]:10702 because of all messages failed"
2013-02-13 19:38:37 SMTP connection from (host.domain.com) [1.1.1.1]:10702 closed by QUIT
2013-02-13 19:38:37 SMTP connection from [1.1.1.1]:10723 (TCP/IP connection count = 1)
2013-02-13 19:38:38 no IP address found for host 1.1.1.1.choopa.net (during SMTP connection from [1.1.1.1]:10723)
2013-02-13 19:38:38 H=[1.1.1.1]:10723 temporarily rejected connection in "connect" ACL: "Host is ratelimited due to multiple failure only connections (5.8/1h max:5)"
2013-02-13 19:38:38 SMTP connection from [1.1.1.1]:10725 (TCP/IP connection count = 1)
2013-02-13 19:38:38 no IP address found for host 1.1.1.1.choopa.net (during SMTP connection from [1.1.1.1]:10725)
2013-02-13 19:38:38 H=[1.1.1.1]:10725 temporarily rejected connection in "connect" ACL: "Host is ratelimited due to multiple failure only connections (5.8/1h max:5)"
2013-02-13 19:38:39 SMTP connection from [1.1.1.1]:10735 (TCP/IP connection count = 1)
2013-02-13 19:38:39 no IP address found for host 1.1.1.1.choopa.net (during SMTP connection from [1.1.1.1]:10735)
2013-02-13 19:38:39 H=[1.1.1.1]:10735 temporarily rejected connection in "connect" ACL: "Host is ratelimited due to multiple failure only connections (5.8/1h max:5)"
2013-02-13 19:38:40 SMTP connection from [1.1.1.1]:10740 (TCP/IP connection count = 1)
2013-02-13 19:38:40 no IP address found for host 1.1.1.1.choopa.net (during SMTP connection from [1.1.1.1]:10740)
2013-02-13 19:38:40 H=[1.1.1.1]:10740 temporarily rejected connection in "connect" ACL: "Host is ratelimited due to multiple failure only connections (5.8/1h max:5)"
2013-02-13 19:38:40 SMTP connection from [1.1.1.1]:10741 (TCP/IP connection count = 1)

我该如何消除速率限制?

答案1

删除您的 ratelimit 数据库。这只是 exim 维护的带有 ratelimit 状态信息的本地 db4 缓存文件的一个别名(因为它是一个 db 文件,而不是在内存中,所以状态可以在 exim 重启和服务器重启后继续存在)。

在基于 rpm 的系统上,它可能位于/var/spool/exim/db/ratelimit*。我建议您首先停止 exim,我的意思是完全停止它。在基于 rpm 的系统上,这意味着service exim stop; service exim stop(没错,两次)。然后删除文件(包括 ratelimit.lockfile,如果存在)。然后重新启动 exim,它会在需要时再次创建 ratelimit 缓存文件。

相关内容