We set up a Postfix email server on our website server, and can send emails, but can’t receive emails there, getting this error on returned emails:
Host or domain name not found. Name service error for name = mail.humortimes.com type = A: Host found but no data record of requested type
We set up an MX record for the emails, but want only emails with the subdomain of "@subs.humortimes.com" to be served by it. Emails going to "@humortimes.com" are already handled by our server host’s email server. The MX record is set up like so:
MX - subs - mail handled by mail.humortimes.com - we tried mail.subs.humortimes.com too.
The subdomain has a CNAME record set up, but the error message refers to a “type A”, which I assume is the A record. But we can’t set up a separate A record for it, since it uses the same ip as the domain.
On the Linux Centos 7 server we have, we have set up the resolv.conf file with the line “domain subs.humortimes.com” and the namerserver with the correct ip for the server.
What should we do to get this working?