Rudy Gevaert:
> Quoting "Wietse Venema" <[email protected]>:
>
> > Rudy Gevaert:
> >> Dear list,
> >>
> >> It recently came to my attention that our canonical rewriting had
> >> stopped working.
> >>
> >> Further inspection led me to the information on the site that default
> >> behaviour was changed in Postfix 2.2. Fine no problem, I should have
> >> seen it. As this is already couple of years ago and nobody noticed it,
> >> it's a big deal :).
> >>
> >> Rewriting is partially happening again. the recipient from and sender
> >> is rewritten.
> >>
> >> However, I can't remember if in the past the To/From headers in the body
> >> of the email are rewritten too? Now it doesn't seem to happen anymore.
> >> Did it actually work in the past? :)
> >
> > http://www.postfix.org/postconf.5.html#local_header_rewrite_clients
> > http://www.postfix.org/postconf.5.html#remote_header_rewrite_domain
> >
> > Wietse
> >
>
> Hi Wietse,
>
> Sorry I forgot one important part in my post:
>
> local_header_rewrite_clients = permit_mynetworks
> smtp1:~# postconf mynetworks
> mynetworks = 127.0.0.1 157.193.0.0/16 172.16.0.0/16
>
>
> In my case rewriting from mynetworks works for for the envelopts but
> **not** for the headers.
I'll consider looking into this after I see one posting with:
- postconf -n output.
- Configuration parameters (-o name=value) in master.cf.
- ALL the header lines of one mis-handled email message.
- What those header lines should have looked like.
Wietse