Postfix无法发送find主机的邮件,但没有请求types的数据logging

第一次在Centos 7上安装Nagios 4,使用Postfix发送警报邮件。 我的本地域是example_1.com,我的交换邮箱mxloggingexample_2.com ,并且都位于同一networking的防火墙之后。

当通过Postfix从[email protected]发送电子邮件到user@example_2.com时 ,我不断收到

Name = example_2.com的名称服务错误type = A:find主机,但没有请求types的数据logging。

我怀疑这是在Postfix DNSconfiguration错误。 我该如何解决这个问题? 请指教。 非常感激。

请参阅下面的/postfix/main.cf

 myhostname = HostName.example_1.com mydomain = example_1.com myorigin = $mydomain inet_interfaces = all inet_protocals = ipv4 mydestination = $myhostname, localhost.$mydomain,localhost, $mydomain mynetworks = 127.0.0.0/8, 10.1.176.0/23 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases home_mailbox = Maildir/ smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = $myhostname smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination, permit_sasl_authenticated,reject 

错误信息:

 Mar 4 17:41:40 HostName postfix/smtp[13576]: 4D5232232A50: to=<user@example_2.com>, relay=none, delay=0.03, delays=0.02/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=example_2.com type=A: Host found but no data record of requested type) 

您的域名没有MXlogging来指定邮件的发送地点。 发生这种情况时,地址logging(AAAA或A)将被尝试,而您的域名也没有这些。

或者,域名有MXlogging,但MXlogging标签中指定的主机没有地址logging。

要解决该问题,请创build一个适当的MXlogging。