Despite the great support on this forum on the previous issue (that was resolved) I hqave send several days to get my head around this second (and hopefully last) problem that I can’t seem to get fixed, despite numerous advices, forums and searches.
The situation is as following:
Server A is running on Direct Admin and has several hosting packages running and domains attached to it. One of which is hostservice.nl.
Server B is on a different network and runs virtualmin. IP 178.251.27.27. Server A has the A record of a subdomain pointed to this virtualmin server.
On this server I started virtualserver with domain decentraalinternet.nl
This is now working fine.
However, e-mail remains a problem. I created an address robert@decentraalinternet.nl but it keeps on being reject by the remote servers due to reverse DNS not working I assume.
I feel I have to do something with this (sub)domain host1.hostservice.nl, create a ptr record maybe on the virtualmin server or so…but this is unknown territory for me.
I think the issue is you no MX records for this server plus spf and dmarc.
To exchange mail servers you need Mail Exchange Record so that can find that server.
Not sure if that’s correct though. So I may still have to create another virtual server for host1.hostservice.nl and setup MX records? Or do I misunderstand
No you just need to add extra records in the dns
like a A record for mail.host1.hostservice.nl pointing to 178.251.27.27 and then a MX record for host1.hostservice.nl pointing to the mail.host1.hostservice.nl
Great, I’ll give that a try. But just to be sure, these settings are on server A where the domain hostservice.nl is running on, or B, the virtualmin server?
I guess, in the section of your first screenshot of the original post. Add the records there.
In other words where ever the DNS records are that your registrar is pointing to for decentraalinternet.nl
You should disable DNS if your using a external DNS, Suggested will then show.
With the spf you need to add a dot at the end of host1.hostservice.nl like you have for hostservice.nl
else it will resolve as host1.hostservice.nl.hostservice.nl
As you can see I am using an e-mail address from domain decentraalinternet.nl that is setup on the virtualmin server. When I perform a mailtest to MX toolbox I’m getting some unexpected results of which I’m not sure how serious all of them are, but one things that bothers me that it still refers to the IP address of the router. The page is too large to display here, but hereś some info:
Its a different domain, you will need to create a new virtual server for that. If your sending a email with address robert@decentraalinternet.nl out on host1.hostservice.nl then its not a matching domain and that the 550 - Verification error as the domains don’t match.
You need to get to this
you must be getting close as I see, one duplicate entry
DMARC is only needed for Google and Yahoo if you are a bulk sender – Google defines that as 5000 messages per day – Yahoo only uses the term Bulk Sender.
If you are under 5k/day, you need EITHER spf or dkim, with dmarc being optional
Right, I seen warning about it, never read the detail. Still best to have a dmarc, it protects your domain name being used to spam from a bad server.
I actually thought I saw one of my domains getting refused due to no dmarc. Will have to test.
Yep, I’m wrong, just tested on a domain I don’t use for mail (no dmarc, spf or DKIM) and sent and it failed.
Just added SPF and it worked. Gmail headers
So you’re telling me it needs an additional record? If so, it raises two questions;1) why didn’t virtualmin created that himself if it’s that important and 2) if its a manual job, how am I ever going to get this automised when customers start to use WHMCS to order hosting on this virtualmin server? It needs to be bullet proof.
One other things I noticed; when I use robert@decentraalinternet.nl to e-mail to a hotmail address, it arrives but ends up in spam. I guess the receiving mailserver of the hostservice.nl domain I was using is more strict.
So just to be sure, I need to create that dmarc entry for every virtualserver that’s going to be created?