[email protected]:
> >> 10.0.15.24 is my mail frontend (receives mails from internet and
> >> then relays them to appropriate server inside). it does only virus
> >> scanning (with spamassassin). Is it important what's going on with
> >> message on other server?
> >
> > Naturally, since it is highly likely the rewrite took place there,
> > the Postfix server that does the rewrite records any change in the
> > envelope address. Downstream servers that don't rewrite don't record
> > the change they did not make.
>
> It is impossible for upstream server to do this rewrite because it doesn't
> know anything about aliases.
> In my first mail I included report from cleanup -v from downstream server
> which clearly (for me) shows it does the rewrite.
> What am I missing?
It is really simple. Postfix compares the unrewritten address to
the current form, and if the two differ, it logs orig_to=<whatever>.
HOWEVER, the cleanup server does not save the unrewritten address
unless "enable_original_recipient = yes" (which is the default).
Also, the two addresses will be identical if the rewriting happened
up-stream, before Postfix received the address.
Wietse