accept mail from subdomain but not for domain

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

accept mail from subdomain but not for domain

Hi.

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 mail@sub.domain.com to me@domain.com, the local postfix says the alias is not know to the local server...

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

Thank you for any pointer.

Mon, 12/19/2016 - 10:12
dukejustice

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 appserver.domain.com.

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

Topic locked