On Wed, Jun 24, 2015 at 05:07:14PM +0200, Matteo Manzinello wrote: > I have same destination "m...@mydomain.it" and I must redirect to > different mailbox because I check the field "To:" on original message. I > can't use virtual_alias_maps.
And yet you must! Routing by header address is wrong, and fails when mail to that address is Cc'd or Bcc'd. In no so extreme cases, forwarding loops can arise, ... Arrange with the upstream relay to rewrite the envelope unambiguously or not at all. -- Viktor.