sender_dependent_default_transport_maps all set-up for virtual domains with their own IPs for outgoing mail - they work.
However when postfix's
sendmail adds an email to the queue, apparently it still passes the email through the host domain and adds a header to the email !
Received: by hostname.blah
Before passing it onto the proper virtual hostname and IP for mailing out
(note the Return-Path and sender IP is all correct in the email)
Why is postfix so stupid and passes the email through the host server despite the sender transport map?
Do I have to find another MTA ?
Is there maybe another option I can use with its
sendmail mta (I'm already using
Another way of asking this is
Can postfix's sendmail change "received: by" based on sender envelope ?
Can I tell postfix's sendmail where the message is coming from on the command line?
It occurs to me if postfix listens on port 25 locally I might be able to initiate from the proper virtual host IP and it might figure this out. But that is overly complex.