Sorry, I made a mistake... 

When I send a mail from SERVER1 with the user USER to my personnel mail,
I receive the mail "FROM USER@SERVER1.MYDOMAIN". 

And not "FROM USER@MYDOMAIN". 

---
########## 

Philippe - Forums 

Le 2018-05-16 20:10, for...@mehl-family.fr a écrit :

> I'm french, sorry for my english. 
> 
> I didn't understand anything. 
> 
> Or certainly that my explanation was not very clear. 
> 
> I retry to explain... 
> 
> _(THE LINK WAS A BAD LINK INSERTED BY DEFAULT INTO MY SENT E-MAIL)_ 
> 
> When I send a mail from SERVER1 with the user USER to my personnel mail, I 
> receive the mail "FROM USER@MYDOMAIN". 
> 
> But when I send a mail from MAILSERVER1 with the user USER to my personnel 
> mail, I receive the mail "FROM USER@MAILSERVER1". 
> 
> The postfix configuration for SERVER1 is a "basic" configuration (just to 
> send mail). 
> 
> _MYDOMAIN = MYDOMAIN_
> _MYHOSTNAME = SERVER1.$MYDOMAIN_
> _MYNETWORKS_STYLE = HOST_
> _MYNETWORKS = 127.0.0.0/8_
> relayhost = xx.xx.xx.xx (MAILSERVER1 IP)
> 
> The postfix configuration for MAILSERVER1 is a "SMTP" configuration (used 
> with dovecot). 
> 
> _MYDOMAIN = MYDOMAIN_
> _MYHOSTNAME = MAILSERVER1.$MYDOMAIN_
> _MYORIGIN = MYDOMAIN_
> _MYDESTINATION = $MYHOSTNAME_
> _RELAYHOST = [IS SMTP]:25_
> _MYNETWORKS = 127.0.0.0/8 192.168.1.0/24_
> _MAILBOX_SIZE_LIMIT = 20480000_
> _RECIPIENT_DELIMITER = +_
> _INET_INTERFACES = ALL_
> _INET_PROTOCOLS = IPV4_
> _MYNETWORKS_STYLE = SUBNET_ 
> 
> I hope that my explanation is clearer you.
> 
> ---
> ########## 
> 
> Philippe - Forums 
> 
> Le 2018-05-16 19:28, /dev/rob0 a écrit : 
> On Wed, May 16, 2018 at 06:48:55PM +0200, for...@mehl-family.fr wrote: I 
> can't specifie the good mail sender with postfix. 
> What you describe most likely is not a Postfix problem.
> 
> I explain: 
> 
> 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 
> Neither of which is directly relevant.  See:
> 
> http://www.postfix.org/BASIC_CONFIGURATION_README.html
> http://www.postfix.org/postconf.5.html#myorigin
> 
> (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@server.my_domain.fr" [1]. So,
> that's OK.
> 
> But when I send a mail from the mail server with a linux user, 
> How did you send the mail?  Typically the MUA would set a sender 
> address.  Is the sender set in the MUA?  We might have been able to 
> tell, if you had shown us LOGS.
> 
> I receive the mail with "from user@node1" [1] instead of "from
> user@node1.my_domain.fr" [1]. 
> Your link was not a real link.
> 
> I don't understand where is the bad configuration. 
> Right, and we could possibly tell you, as above.  But most likely 
> your OS has preconfigured your mail(1) command to set a sender
> domain name.
> 
> Links:
> ------
> [1]
> https://mehlsrvmail:40030/?_task=mail&_caps=pdf%3D0%2Cflash%3D1%2Ctiff%3D0%2Cwebp%3D0&_uid=59&_mbox=Sent&_framed=1&_action=preview#NOP

Reply via email to