这里有什么问题? Postfix二级MX中继,具有redirect特定的电子邮件地址

我的域的主要mx服务器已closures,可能会停留一天左右。 与此同时,压力正在为需要的人们提供高优先级的邮件。

我想要做的是build立一个辅助MX,它将作为一些特定电子邮件地址的中继,并将剩下的一个转发给一个域,而另一个域只应该使用虚拟别名映射表中的策略。

我目前看到的是这样的:

main.cf:

virtual_alias_domains = dom1.example.org, dom2.example.org virtual_alias_maps = hash:/etc/postfix/virtual transport_maps = hash:/etc/postfix/transport 

运输:

  [email protected] : [email protected] : dom1.example.org smtp:primarymx.example.org dom2.example.org : 

虚拟:

  [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 

问题是邮件[email protected]被拒绝:

 Remote host said: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in virtual mailbox table 

我想要发生的事情是,该邮件被定向到smtp:primarymx.example.org并排队,直到该服务器可用。

出了什么问题? 我怎样才能使这个工作?

我想到了。

运输表应该是这样的:

 [email protected] : [email protected] : dom1.example.org relay:[primarymx.example.org] dom2.example.org :