Article ID: 117726, created on Jan 7, 2014, last review on May 1, 2014

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux

问题

Postfix 不工作,/usr/local/psa/var/log/maillog 日志中出现以下错误:

postfix/smtpd[19989]:NOQUEUE: milter-reject:CONNECT from example.com[192.168.0.1]:451 4.7.1 Service unavailable - try again later; proto=SMTP

我还看到以下错误:

ct-milter[2865]: open(/tmp//ctmiWleY2L):Too many open files
postfix/smtpd[19989]: warning: milter unix:/var/spool/postfix/ctmilter/ctmilter.sock: can't read SMFIC_OPTNEG reply packet header:Connection timed out
postfix/smtpd[19989]: warning: milter unix:/var/spool/postfix/ctmilter/ctmilter.sock: read error in initial handshake

原因

ct-milter 守护进程已达到打开的文件上限。

解决方案

增加 ctasd 脚本中的上限,请添加以下行到 /etc/init.d/ctasd_initd 文件:

ULIMIT="-n 4096"

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article