Exim fakereject控制不起作用

在遵循ACL的Exim文档后,我无法使Exim利用以下configuration(仅包括相关行)的地址[email protected]的伪造控件:

 # config says I shouldn't need this, but the function it said would return it was being wonky, so I included it primary_hostname = actual.domain.com # the domain list, in which the local_domains list is augmented by some others: domainlist other_aliases = other.com : otherother.com domainlist local_domains = @ : localhost : localhost.localdomain : +other_aliases # in the acl_smpt_rcpt list: warn local_parts = noreply domains = +local_domains logwrite = initiating fakereject control = fakereject/This address is not monitored by a human. Please forward your response to the email address provided in the form data. If there is no email address provided in the form data, contact the administrator of the form. # this line immediately follows: accept hosts = : control = dkim_disable_verify 

关于noreply一些注意事项: noreply被设置为邮件服务器上的实际用户,因为另一个客户端应用程序使用该帐户通过SMTP-auth进行身份validation来发送电子邮件,从而有效地使用邮件服务器作为中继。 我想使用fakereject控件的唯一原因是因为我们的许多用户仍然试图从noreply回复电子邮件(不要问我为什么),我想向他们展示比标准的邮件程序守护程序世界烧录更好电子邮件。

除了不发送假拒绝,日志消息甚至不写。 任何想法或要求更多的信息将不胜感激!

你从哪里testing? 如果您正在从本地服务器进行testing,则在达到您的警告声明之前,连接可能已被接受。 收件人ACL从一些接受语句开始,旨在将来自互联网的传入邮件devise为短路testing。

邮件是否被传送到处理noreply邮件的目的地? 这可能需要/etc/aliases 。 如果不是,它可能会真正反弹之前,它的警告声明。

尝试使用exigrep noreply /var/log/exim4/mainlog 。 这应该显示每个请求loggingnoreply的详细信息。 传递消息应该包含=> noreply

使用正常地址的系统通常会设置发送回复的回复地址。 noreploy地址通常由自动化系统而不是单个用户使用。 发送邮件的用户身份validation后,应发送个人邮件。

testingnoreply地址通常需要生成自己的邮件到该地址。 除反弹消息外,这些地址应该看到很less或没有stream量。 如果您发送到性能良好的服务器,则会在交付完成之前发生反弹,并显示为交付失败。 其他服务可能接受该消息并悄悄丢弃消息到无效地址。