CentOS Postfix/Dovecot 状态延迟与 127.0.0.1[127.0.0.1] 的对话在接收初始服务器问候时超时

CentOS Postfix/Dovecot 状态延迟与 127.0.0.1[127.0.0.1] 的对话在接收初始服务器问候时超时
  • Linux 内核:i686 上的 Linux 2.6.32-504.16.2.el6.i686
  • 内存:6GB
  • 操作系统:CentOS 6.6
  • Postfix 2.6.6
  • Dovecot 2.0.9
  • 中继主机 Verizon
  • 通过 127.0.0.1:2525 隧道
  • Webmin 1.750
  • Virtualmin 4.17.gpl
  • 多个域
  • 仅限 IMAP,无 POP3

问题如下:我一直在尝试设置 Postfix/Dovecot,有一次我发送了电子邮件(Dovecot 之前),然后我安装了 Dovecot,电子邮件停止工作(但我可以通过电子邮件应用程序连接到 Dovecot)。我搜索了整个互联网并遵循了许多不同的操作方法。

这是错误日志消息:

May 27 12:53:17 HOST dovecot: imap-login: Login: user=USERACCOUNT, method=PLAIN, rip=EXTERNALIP, lip=INTERNALIP, mpid=24257, TLS

May 27 12:56:18 HOST postfix/smtp[24155]: 34AF0120A1C: to=RECEPIENTEMAIL, relay=127.0.0.1[127.0.0.1]:2525, delay=41158, delays=40858/0.06/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
  • 我已将主机名替换为 HOST,将外部 IP 替换为 EXTERNALIP,将内部 IP 替换为 INTERNALIP,将收件人电子邮件替换为 RECEPIENTEMAIL

这是我的 postconf -n 的输出

postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_protocols = ipv4
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relayhost = [127.0.0.1]:2525
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_canonical_maps = regexp:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_cname_overrides_servername = no
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = plain, loginsender_canonical_maps = regexp:/etc/postfix/sender_canonical
smtp_sasl_password_maps = hash:/etc/postfix/smtp_sasl_password_map
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = cyrus
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual_aliases_map

我已经束手无策了!求求谁来帮帮我吧!

理想情况:我想运行我的 postfix 服务器来为我的域用户提供邮件。所有电子邮件都将通过端口 465 路由到 smtp.verizon.net。收到的邮件将直接发送到我的 postfix 服务器。用户将能够使用 Outlook 或其他电子邮件客户端连接到服务器并阅读/发送邮件。我还将安装 Roundcube 或 SquirrelMail 以便为他们提供网络邮件。所有电子邮件和登录都应通过 SSL/TLS(使用自签名证书 - 目前没有商业证书,但这可能会在以后发生变化)。

预先感谢您的帮助。

相关内容