1 (edited by aaronesteban 2020-10-19 01:18:47)

Topic: DNS Records Configuration - Going Straight to Spam Box???

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer? command line
- Linux/BSD distribution name and version:  Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


I know that in order to hit the inbox, the main DNS records need to be properly set up. These are the main DNS records that every mail delivery system should have for their domain:

- TLS
- A
- MX
- DKIM
- SPF
- DMARC
- rPTR

The ones that I mainly need help with configuring right now are the following records:

MX, DKIM, & SPF.

I have iRedMail installed on my domain at:
aaronsnewsletters dot com

What exactly should I set for the MX records if I set my main mail server to mail.aaronsnewsletters dot com?

Am I supposed to set the MX records for the root/apex of the domain or do I set them to aim at the "mail.aaronsnewsletters dot com"?

Also, what about the DKIM & SPF?

Am I supposed to try pointing at the root/apex or the subdomain with the "mail."?

Any support is greatly appreciated.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: DNS Records Configuration - Going Straight to Spam Box???

aaronesteban wrote:

I have iRedMail installed on my domain at:
aaronsnewsletters dot com
What exactly should I set for the MX records if I set my main mail server to mail.aaronsnewsletters dot com?
Am I supposed to set the MX records for the root/apex of the domain or do I set them to aim at the "mail.aaronsnewsletters dot com"?

If your mail domain name is "aaron...com" (user@<MAIL-DOMAIN-NAME>), then the MX should be set for "aaron...com", not "mail.aaron...com". Run "dig -t mx aaronnewsletters.com" to check it.

aaronesteban wrote:

Also, what about the DKIM & SPF?

DKIM should be set FOR: dkim._domainkey.aaronnewsletters.com. Run "dig -t txt dkim._domainkey.aaronnewsletters.com" to check it.
SPF should be set FOR: aaronnewsletters.com. Run "dig -t txt aaronnewsletters.com" to check it.

FYI: https://docs.iredmail.org/setup.dns.html