It turns out I needed
control = submission/sender_retain
to suppress the Sender: header exim generated.
Odhiambo Washington schrieb:
>
>
> On 9 August 2016 at 17:14, hw <hw@??? <mailto:hw@gc-24.de>> wrote:
>
>
> Hi,
>
> with several domains declared as local domains, users can
> send and receive messages with sender addresses the domain
> part of which is any of the local domains. Unfortunately,
> when looking at the headers, the recipient can always see
> from which domain the message was actually sent because of
> headers like Received: and Sender:, and the envelope information.
>
> Is there a way to make it so that the recipient of a message
> sent from <user@??? <mailto:user@domain-b.com>> cannot figure out that the message
> was actually sent from <user@??? <mailto:user@domain-a.net>> when the host exim
> runs on has a primary hostname like mx.domain-a.net <http://mx.domain-a.net>?
>
>
> I´m having users who should have an email account for two domains,
> and when sending test messages, I can always clearly see in the
> headers where the messages actually came from.
>
> Do I need to set up another email server for this?
>
>
> I think this is where virtual hosts concept comes into play.
> You just need to point the MX for all domains to the very server and use virtual domains.
> I am a little confused though: What is rewriting the headers?
>
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft."