postfix multiple domains

Posted December 11, 2013 9.2k views
I configured the postfix, but i dont sure it is ok, i have 3 domains like: my /etc/postfix/ myhostname = alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = $myhostname, /etc/postfix/virtual/domains virtual_maps = hash:/etc/postfix/virtual/addresses the /etc/postfix/virtual/addresses: DOMAIN user1@ user2@ DOMAIN user3@ user4@ DOMAIN user5@ user6@ and the/etc/postfix/virtual/domains:

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers
Yes i have two problem with this setup, first one is i not receive any email sent to all of the domains dns settings is the same.

And the other one is`s emails is received but in the email header have this:
"Received: from ( [MY DROPLET IP])"
i think is the problem is with the myorigin = /etc/mailname part of the config, that file has one line
Are you encountering any errors when you try to send mail? Did you follow a tutorial when you set this up? If so, which one?
What operating system are you working with?