I can't specifie the good mail sender with postfix.
I have a server mail cluster with 2 nodes (but only one works, the second is going to be made).
Node names is "node1" and "node2", cluster name is "node". On node1, the server name is "node1" and the mail server name (for postfix) is "node". The servers are on a personnal domain (my_domain.fr).
On all of my servers (mail servers and others), the postfix configuration is:
mydomain = my_domain.fr
myhostname = server_name.$mydomain
(with "node" for relay to others servers and mail server configuration for "node1")
When I send a mail from a local server (linux) with a linux user, I receive the mail with "from user@...". So, that's OK.
But when I send a mail from the mail server with a linux user, I receive the mail with "from user@node1" instead of "from user@...".
I don't understand where is the bad configuration.