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??
Who is Participating?
rpayrederConnect With a Mentor Commented:
edit the /etc/postfix/virutal file and add: anything

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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.