无法使用Postfix服务器作为电子邮件中继向单个电子邮件地址发送邮件到/ dev / null
我们的电子邮件域名托pipe在Google Apps(@ contoso.com)中,我们只使用Postfix作为电子邮件转寄给我们的内部服务以发送。 我们的Postfixconfiguration是相当简单的,它只是从一个开箱即用的Ubuntuconfiguration作为“互联网网站与Smarthost”稍微调整,我会postconf -n下面。 我遇到的问题是我将Postfix服务器放入负载均衡器,负载均衡器正在通过尝试成功发送电子邮件来检查服务器的可用性。 我真的不想收集任何这些电子邮件 – 而我所看到的经常使用的是发送邮件到/ dev / null这是我正在做的,但已经unsuccesfull。 我试图编辑我的/ etc / aliases文件,并试图做virtual_alias_maps,但没有得到它的工作 – 我知道这是可能的,但我的实现显然是不正确的。 现在我已经取消了我的尝试,只是在尝试之前做了这个,所以这里是我现在的configuration: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all inet_protocols = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = mail.contoso.com, localhost.localdomain, localhost myhostname = […]