无法使用 Postfix 接收电子邮件:状态=延迟(接收初始服务器问候时与 127.0.0.1[127.0.0.1] 的对话超时)

无法使用 Postfix 接收电子邮件:状态=延迟(接收初始服务器问候时与 127.0.0.1[127.0.0.1] 的对话超时)

大约一个月前,我一直在设置服务器,但因为个人原因不得不停止。今天我又回去尝试发送/接收电子邮件。

最初,我从我的 Gmail 帐户向服务器上的电子邮件帐户发送了一封电子邮件,并成功收到了该邮件。但是,当我回复该电子邮件时,我的 Gmail 帐户中没有收到该邮件,服务器上的电子邮件帐户中也没有收到退回的邮件。

但是,我又尝试了两次从 Gmail 帐户向服务器发送电子邮件,但都没有收到。我还一次又一次向 Gmail 帐户发送电子邮件,但既没有收到邮件,也没有收到退回邮件。

我检查了 Postfix 邮件队列,它显示以下信息: 在此处输入图片描述

我还检查了邮件日志,并收到以下错误:

May 16 15:58:43 setanta postfix/smtp[9231]: DC06A122: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=1542, delays=1242/0.01/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)

有人知道这是怎么回事吗?

提前谢谢了!

编辑
这是 main.cf 文件。这全部未注释,因此如果这里缺少某些内容,则可能是未包含或我已对其进行哈希处理。

queue_directory = /var/spool/postfix   
command_directory = /usr/sbin    
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
inet_protocols = all
mydestination = setanta.gravex.co.uk, localhost, localhost.localdomain
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
myhostname = setanta.gravex.co.uk
mynetworks = 127.0.0.0/8 [::1]/128
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
relayhost =
mailbox_size_limit = 0
message_size_limit = 0

答案1

您正在向 postfix 预计在端口 10024 上运行的服务发送邮件。

该进程未监听端口 10024;也许它没有运行?

相关内容