I tried send email with CC and BCC and I checked "Received: from" field,
always work. 

I disabled the header_checks and I used sieve rules but now I have
double amavis check :(. First time with the forward from original sender
and the second time the internal forward from "m...@mydomain.it" to
"i...@mystart.it". 

Il 2015-06-24 17:23 Viktor Dukhovni ha scritto: 

> 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.
 

Reply via email to