Hallo Heiko,
> Normal rewriting occures as soon as all header lines are received, so
> probably you could add some X-Original-Recipient header.
Thanks. I experimented and added in ACL RCPT
warn add_header = X-testing-1: $local_part@$domain
and the original RCPT value has been saved.
> > The earliest one can add a header is in ACL MAIL (using warn add_header)
> > but at that stage $recipients has been changed and $local_part and
> > $domain are empty.
I was wrong about this 'earliest' opportunity. Headers can be added in
ACL RCPT.
> You should not use SMTP rewriting (the S flag forces rewriting at SMTP
> time).
The flag I am using is 'T' to change only the SMTP destination.
Viele Grüße aus England
Paul
(A European Englishman nicht Englisch European).
--