由于用户投诉,来自 [IP 地址] 的消息暂时延迟

由于用户投诉,来自 [IP 地址] 的消息暂时延迟

我花了整整 2 到 3 周的时间按照教程,反复尝试在 Ubuntu 18.04 上使用 Postfix 和 Dovecot 设置自己的邮件服务器。我终于设置了 SPF/DKIM/DMARC 记录,并且从我的服务器向 gmail 发送邮件。Yahoo、hotmail 和私人服务器没有收到来自我的服务器的任何邮件。我对这个电子邮件服务器的东西经验很少,所以欢迎任何建议。如果您需要我在此帖子中添加更多信息,请告诉我。

/var/log/mail.log:

May 30 14:41:10 nodename postfix/qmgr[19762]: 188C44005B: from=<[email protected]>, size=355, nrcpt=1 (queue active)
May 30 14:41:10 nodename postfix/smtp[28596]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4001:c07::1a]:25: Network is unreachable
May 30 14:41:10 nodename postfix/smtp[28596]: Untrusted TLS connection established to gmail-smtp-in.l.google.com[172.217.214.27]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
May 30 14:41:11 nodename postfix/smtp[28596]: 188C44005B: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[172.217.214.27]:25, delay=0.99, delays=0.02/0.01/0.42/0.55, dsn=2.0.0, status=sent (250 2.0.0 OK  1590874871 26si9405031jas.5 - gsmtp)
May 30 14:41:11 nodename postfix/qmgr[19762]: 188C44005B: removed
May 30 14:42:00 nodename postfix/qmgr[19762]: C54274005F: from=<[email protected]>, size=355, nrcpt=1 (queue active)
May 30 14:42:01 nodename postfix/smtp[28596]: Untrusted TLS connection established to mta6.am0.yahoodns.net[67.195.204.72]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
May 30 14:42:01 nodename postfix/smtp[28596]: C54274005F: host mta6.am0.yahoodns.net[67.195.204.72] said: 421 4.7.0 [TSS04] Messages from 129.146.95.190 temporarily deferred due to user complaints - 4.16.55.1; see https://help.yahoo.com/kb/postmaster/SLN3434.html (in reply to MAIL FROM command)
May 30 14:42:01 nodename postfix/smtp[28596]: C54274005F: lost connection with mta6.am0.yahoodns.net[67.195.204.72] while sending RCPT TO
May 30 14:42:01 nodename postfix/smtp[28596]: Untrusted TLS connection established to mta6.am0.yahoodns.net[67.195.228.110]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
May 30 14:42:01 nodename postfix/smtp[28596]: C54274005F: to=<[email protected]>, relay=mta6.am0.yahoodns.net[67.195.228.110]:25, delay=0.93, delays=0.01/0/0.87/0.04, dsn=4.7.0, status=deferred (host mta6.am0.yahoodns.net[67.195.228.110] said: 421 4.7.0 [TSS04] Messages from [IP address] temporarily deferred due to user complaints - 4.16.55.1; see https://help.yahoo.com/kb/postmaster/SLN3434.html (in reply to MAIL FROM command))

postconf-d:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
compatibility_level = 2
daemon_directory = /usr/lib/postfix/sbin
data_directory = /var/lib/postfix
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:private/dovecot-lmtp
mailq_path = /usr/bin/mailq
message_size_limit = 10485760
mydestination = $myhostname, example.com, mail.example.com, localhost.example.com, localhost
mydomain = example.com
myhostname = mail.example.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mynetworks_style = subnet
myorigin = /etc/mailname
newaliases_path = /usr/bin/newaliases
recipient_delimiter = +
relayhost =
sendmail_path = /usr/sbin/postfix
setgid_group = postdrop
smtp_tls_loglevel = 1
smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtp_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP
smtpd_tls_cert_file = /etc/letsencrypt/live/mail.example.com/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/mail.example.com/privkey.pem
smtpd_tls_loglevel = 1
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtputf8_enable = no
unknown_local_recipient_reject_code = 550

我还有一些问题:1) 我了解延迟日志,但如果我的 SPF/DKIM/DMARC 已经有效 2 周了,为什么它仍然被延迟?2) 这是什么意思,为什么 Gmail 和 Yahoo 都有“不受信任的 TLS 连接”?3) 这是什么意思,为什么网络无法访问但电子邮件仍然发送到 Gmail?

答案1

  Messages from [IP address] temporarily deferred due to user complaints - 4.16.55.1

是您的答案。您的服务器正在发送消息,但远程系统拒绝它们。您可能需要根据 RBL 黑名单检查您的 IP 以及您的邮件队列,以确定阻止的原因。

相关内容