I am trying to migrate my domains from cpanel and i did some testing to mail deliverability. Most times when i sent to microsoft (outlook hotmail) or gmail mail went to spam. (my droplet is new and not blacklisted)
i have set up reverse dns properly and also i added a dmarc record as following:
Webmin -> Servers -> Bind DNS Server -> Choose domain -> Choose type DMARC and finally i created the record adding 100 to percentage of messages to apply policy
After i did the following
Virtualmin -> Email Settings -> DomainKeys Identified mail and save.
My first question is if this is a proper way to create a DMARC and DKIM record. Should i do it manually for every virtual server? Second question is what else i can do in order to improve mail deliverability?
Thank you in advance
Alex
Comments
Hi,
Thank you for choosing Virtualmin!
Yes. It's all correct and no further actions would be needed in the future, when new domains are added.
Not exactly. You should rather go to Server Configuration/DNS Options and use DMARC record enabled option.
For DMARC records, you would have to edit Server Templates and its BIND DNS Domain and enable Add DMARC DNS record.
I would set DMARC policy to "reject". SPF record should still and also be enabled on mentioned DNS Options page above.
Submitted by alstam on Fri, 04/10/2020 - 06:36 Pro Licensee Comment #2
Thank you for your reply. Sorry for asking again but just to be sure. There is no a global option in order DMARC is enabled by default after a new virtual server created or migrated right?
Thank you
No, I don't think so.
However, in case you have hundreds of domains and doing it manually is difficult, you could use Virtualmin CLI to run mass update:
Submitted by alstam on Fri, 04/10/2020 - 09:17 Pro Licensee Comment #4
Thank you. No i have not hundreds only 30, it's not difficult to do it manually. I wanted just to avoid have in mind to do it every time i add a new virtual server but i will put a post-it memo on my screen! :-p
Thank you
In this case, just make sure to enable it on Server Templates.
Submitted by alstam on Fri, 04/10/2020 - 10:45 Pro Licensee Comment #6
Submitted by alstam on Fri, 04/10/2020 - 10:46 Pro Licensee Comment #7
Yes! (i hope i did it right i added a screenshot!)
Thank you
Yeah, looks good.
Submitted by alstam on Fri, 04/10/2020 - 11:10 Pro Licensee Comment #9