我正在用于反向散射的Postfix邮件服务器的问题,我已经尝试了手册中的build议,但似乎没有任何工作。 有谁知道如果我们可以拒绝任何邮件进入队列,如果收件人不匹配本地收件人,而不是发送退回邮件? 我假设它应该是在configuration文件中相当直接的变化。 只要注意我在服务器上使用Webmin / Virtualmin。
# Set this because this causes local postfix to generate a 550 reject # response to the SMTP server that initiated the connection # rather than sending a bounce email to a likely bogus address unknown_local_recipient_reject_code = 550 local_recipient_maps = $virtual_mailbox_maps