accept mail from subdomain but not for domain

2 posts / 0 new
Last post
#1 Mon, 12/19/2016 - 09:29

accept mail from subdomain but not for domain


It's my first time configuring such a system: our website is hosted at Host1, our mails at gmail. And I also just setup Virtualmin to run several apps under subdomains at Host2.

I have emails for subdomains working fine. But when an email from a subdomain is sent to the main domain, ie... from to, the local postfix says the alias is not know to the local server...

How can I circumvent this situation and see mails for be relayed to the outside world?

Thank you for any pointer.

Mon, 12/19/2016 - 10:12

Ho, I did try to setup the domain on the virtualmin box and set it's mail to off in enabled features.

My hostname is equal to my FQDN for the first virtual domain... which is

Should I set my hostname to something else then so to "free" from the virtualdomain list?

Topic locked