These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Postfix, send e-mail with IP for specific Virtual Server on the new forum.
Is it possible to send e-mail with sending server domain as domain from which mail is being send, not with serwer hostname?
For example: Server hostname: server.eu Virtual Server: domain.eu
How to send mail from user@domain.eu with header:
X-Original-To: xxxx@domain.pl
Delivered-To: xxxx@domain.pl
Received: from domain.eu (rev.domain.eu [xxx.xxx.xxx.xxx])
by domain.pl (Postfix) with ESMTP id xxxxxxxxx
but not
X-Original-To: xxxx@domain.pl
Delivered-To: xxxx@domain.pl
Received: from server.eu (rev. server.eu [xxx.xxx.xxx.xxx])
by domain.pl (Postfix) with ESMTP id xxxxxxxxx
Is is possible?
Howdy,
You can set the "From" address of the outgoing emails.
However, you can't change what shows up in the "Received" headers.
Those are all tagged by the receiving server, based on the IP address of the server sending the email. What it's putting in there are the forward and reverse lookup of your server's IP address. If a given domain owner cares that much about what shows up in the "Received" headers, outside of setting up some really crazy routing rules, the only way to solve that is to setup a new server just for them :-)
-Eric