postfix multiple domains

December 11, 2013 3.5k 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:
4 Answers
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?
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
What operating system are you working with?
Have another answer? Share your knowledge.