diff options
author | Dhruv Sharma <dhruvsharma0503@gmail.com> | 2020-06-23 01:12:41 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 01:12:41 +0400 |
commit | 35dd68d224e6973408a99839e6f62e032c1363a7 (patch) | |
tree | 39f3c80dfb87840f2f1c8e949062c3e18450c2dd | |
parent | 8d90c4438e3644e4c67a0c4a5a84260590f237bb (diff) | |
parent | 66854bfddad6d9f6c357084f5530001a3a4ee09b (diff) |
Merge pull request #1 from dhruvsharma78/dhruvsharma78-patch-rDNS
Added instructions for setting up reverse DNS
-rw-r--r-- | README.md | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -49,10 +49,21 @@ actually works perfectly. 3. You need two little DNS records set on your domain registrar's site/DNS server: (1) an **MX record** pointing to your own main domain/IP and (2) a **CNAME record** for your `mail.` subdomain. -4. `apt purge` all your previous (failed) attempts to install and configure a +4. **A Reverse DNS entry for your site.** Go to your VPS settings and add an + entry for your IPV4 Reverse DNS that goes from your IP address to + `mail.<yourdomain.com>`. If you would like IPV6, you can do the same for + that. This has been tested on Vultr, and all decent VPS hosts will have + a section on their instance settings page to add a reverse DNS PTR entry. + You can use the 'Test Email Server' or ':smtp' tool on + [mxtoolbox](https://mxtoolbox.com/SuperTool.aspx) to test if you set up + a reverse DNS correctly. This step is not required for everyone, but some + big email services like gmail will stop emails coming from mail servers + with no/invalid rDNS lookups. This means your email will fail to even + make it to the receipients spam folder; it will never make it to them. +5. `apt purge` all your previous (failed) attempts to install and configure a mailserver. Get rid of _all_ your system settings for Postfix, Dovecot, OpenDKIM and everything else. This script builds off of a fresh install. -5. Some VPS providers block port 25 (used to send mail). You may need to +6. Some VPS providers block port 25 (used to send mail). You may need to request that this port be opened to send mail successfully. Although I have never had to do this on a Vultr VPS, others have had this issue so if you cannot send, contact your VPS provider. |