Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Postfix with multiple domains

I have to use postfix, to receive the mails from two domains. My router is sending the mail to the machine wher postfix is working on, but i can only receive the mail for one domain, not for both domains.
Can postfix do this or how can I resolver this problem??
0
WhiteFalcon022100
Asked:
WhiteFalcon022100
1 Solution
 
rpayrederCommented:
edit the /etc/postfix/virutal file and add:

my2ndDomain.com anything
@my2ntDomain.com @my1stDomain.com

then do a "postmap virtual" in the postfix conf directory. At last you have to do a "postfix reload". Make also sure that the DNS MX record for your 2nd Domain shows to your Mail server
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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