postfix multiple domains

  • Posted December 11, 2013

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:


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Debian 7

What operating system are you working with?

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. <br> <br>And the other one is`s emails is received but in the email header have this: <br>“Received: from ( [MY DROPLET IP])” <br>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?