Postfix有时会提供电子邮件,有时不会

我在RHE5上使用postfix 2.3.3,因为几个星期前,我们有一个电子邮件传递问题,具体到外部中继(Gmail,Hotmail,雅虎)。

我做了一些练习:用CC外部地址发送一封电子邮件到内部电子邮件地址。

我们收到我们的客户(雷鸟)内部电子邮件没有问题,但我们没有收到外部(我查看垃圾邮件,什么也没有)。 我检查后缀日志,它说,一切都好。

Aug 29 16:55:43 mail postfix/smtpd[2019]: A1DA879E809: client=unknown[192.168.26.6] Aug 29 16:55:44 mail postfix/cleanup[2022]: A1DA879E809: message-id=<57C4BB64.7030807@internaldomain> Aug 29 16:55:47 mail postfix/qmgr[1771]: A1DA879E809: from=<account1@internaldomain>, size=114602, nrcpt=2 (queue active) Aug 29 16:55:47 mail postfix/smtpd[2019]: disconnect from unknown[192.168.26.6] Aug 29 16:55:47 mail postfix/local[2032]: A1DA879E809: to=<internaltest@internaldomain>, relay=local, delay=4, delays=4/0.04/0/0.01, dsn=2.0.0, **status=sent** (delivered to maildir) Aug 29 16:55:53 mail postfix/smtp[2031]: A1DA879E809: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[108.177.11.27]:25, delay=10, delays=4/0.03/2.8/3.3, dsn=2.0.0, **status=sent** (250 Requested mail action okay, completed.) Aug 29 16:55:53 mail postfix/qmgr[1771]: A1DA879E809: removed 

我检查我们的队列,但似乎没有任何错误

 qshape deferred T 5 10 20 40 80 160 320 640 1280 1280+ TOTAL 7 0 0 0 1 0 0 0 0 0 6 oj.gob.gt 4 0 0 0 0 0 0 0 0 0 4 gmaiil.com 1 0 0 0 0 0 0 0 0 0 1 cocisa.com.gt 1 0 0 0 1 0 0 0 0 0 0 energuate.com.gt 1 0 0 0 0 0 0 0 0 0 1 

会发生什么?

我们的基本后缀configuration是这样的:

 alias_maps = hash:/etc/aliases bounce_queue_lifetime = 1d broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all mailbox_size_limit = 102400000 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man maximal_queue_lifetime = 1d message_size_limit = 20971520 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = domain myhostname = mail.domain mynetworks = 172.16.0.0/23,192.168.0.0/18,127.0.0.0/8 mynetworks_style = subnet myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains = $mydestination sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_banner = $myhostname ESMTP Mail Institucional smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, permit_inet_interfaces, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_security_options = noanonymous unknown_local_recipient_reject_code = 550 

许多邮件服务器默默地忽略他们认为是垃圾邮件的垃圾邮件和邮件。 检查垃圾邮件文件夹,看看你是否做到了这一点。

请参阅我们多年来发现的典型答案是什么? 并检查电子邮件部分。 我已经在电子邮件上写了几篇博文,其中包括运行电子邮件服务器 。 尝试发送电子邮件到列出的testing地址之一。

如果您正确实施了报告地址的SPFDKIMDMARC ,则Gmail和Yahoo可能会向您发送报告,说明邮件未送达的原因。