• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

postfix server 2.1.4 configuration

i'm currently running a postfix server 2.1.4
i have two domain names:
www.domain1.com
www.domain2.com
both FDQN with MX records
how do i configure main.cf to send and receive mail for both domains?
is it masquerading? virtual domains or what?
0
supertw2000
Asked:
supertw2000
1 Solution
 
wesly_chenCommented:
Hi,

   The following URL might answer your question very clearly:

Postfix - Hosting Multiple Domains with Virtual Accounts
http://www.akadia.com/services/postfix_separate_mailboxes.html

   Basically, create a file called "/usr/local/postfix/etc/virtual_domains" and add the texts below in it:
----
www.domain1.com
www.domain2.com
----
   And modify the "virtual_mailbox_domains = /usr/local/postfix/etc/virtual_domains" in config file.

   Then setup the virtual mailboxes.

Regards,

Wesly
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now