OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: virtual transport overwrites recipient

From: mouss (mlist.onlyfree.fr)
Date: Wed Jan 02 2008 - 06:33:47 CST


Ondrej Pachner wrote:
> hi,
>
> On Wed, 2 Jan 2008, Sahil Tandon wrote:
>>> Does anybody know how to fix it to deliver to the right maillbox
>>> (aldomain.tld) with To: header with the original address
>>> (someuserdomain.tld)?
>>> thank you for any hint
>> But you did not send the email *To:* someuserdomain.tld; you set *Bcc:*.
>
> That's right. On the other postfix machine with totally another
> configuration it takes me X-Original-To: header into an email with the
> original recipient incuded. from postfix man:
>
> The virtual(8) delivery agent prepends a Delivered-To:
> message header with the final envelope recipient address,
> prepends an X-Original-To: header with the recipient
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> address as given to Postfix, and prepends a Return-Path:
> message header with the envelope sender address.
>
> this is what I'm missing :-(
>

disable address rewrite before the filter. only do address rewrite after
the filter. More infos in the FILTER README.