{"id":16879,"date":"2024-05-21T17:20:36","date_gmt":"2024-05-21T17:20:36","guid":{"rendered":"https:\/\/hostvento.com\/kb\/web-hosting\/how-to-keep-email-out-of-the-spam-folder\/"},"modified":"2024-06-16T18:04:19","modified_gmt":"2024-06-16T18:04:19","slug":"how-to-keep-email-out-of-the-spam-folder","status":"publish","type":"docs","link":"https:\/\/www.hostvento.com\/kb\/docs\/hosting-faqs\/how-to-keep-email-out-of-the-spam-folder\/","title":{"rendered":"How to Keep Email Out of the Spam Folder?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>The article contains instructions to make sure other servers or networks do not flag your email as spam. Spam should not be sent by your server. To learn how to prevent emails from ending up in the spam folder, read on.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use email authentication<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">DKIM and SPF<\/h3>\n\n\n\n<p>DKIM (DomainKeys Identified Mail) and SPF (Sender Policy Framework) authentication help verify that email comes from a trusted sender.&nbsp;<\/p>\n\n\n\n<p>An email validation technology called DKIM can identify emails that have been spoofed. It allows your mail server to ascertain whether the email from that domain has been authorized by the domain administrator. Your mail server utilizes the digital signature in the email to verify the sender&#8217;s public key in their DNS record.<\/p>\n\n\n\n<p>To combat email spoofing, SPF employs DNS records. When an email message contains fake sender addresses, SPF checks the DNS record for the sender\u2019s domain to identify the change in the email\u2019s header.<\/p>\n\n\n\n<p>On servers running CentOS 7, CentOS 8, or AlmaLinux OS 8, you may notice a named warning regarding the absence of SPF resource entries on DNS.<\/p>\n\n\n\n<p>Because RFC 7208 deprecated SPF records, this warning does not apply to CentOS 7, CentOS 8, or AlmaLinux OS 8 systems. TXT records are used instead of SPF records on CentOS 7 and 8 servers.<\/p>\n\n\n\n<p>Both Red Hat 7.1 and CentOS 7.1 include bind-9.9.4-23.el7, an improved version of BIND that conforms with RFC 7208. To solve this problem, upgrade your operating system to a version including the most recent version of BIND. Read the Red Hat Bugzilla case regarding SPF record problems for additional details.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DMARC<\/h3>\n\n\n\n<p>DMARC (Domain-based Message Authentication, Reporting, and Conformance) is a technological specification designed to decrease the possibility of email-based abuse. A DMARC policy utilizes DNS to validate that an email message has a valid DKIM and SPF record. A DMARC also checks if the&nbsp;<em>From:<\/em>&nbsp;header matches those records.<\/p>\n\n\n\n<p>To protect users from spam email, several email networks ask you to employ a DMARC policy. Your server must adopt a DMARC policy to avoid email rejections or spam flags within these networks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Server PTR record configuration<\/h2>\n\n\n\n<p>An IP address and a domain name can be mapped using a PTR record. An A record in reverse is comparable to a PTR record. Set your <a href=\"http:\/\/secure.hostvento.com\" target=\"_blank\" rel=\"noopener\"><strong>server&#8217;s hostname<\/strong><\/a> to be used in the PTR record for its IP address. Make sure your server&#8217;s hostname is used in the PTR record for the IP address you&#8217;ve configured Exim to utilize.<\/p>\n\n\n\n<p>Example of A record:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">server:~ root$ dig mx1.cpanel.net +short\n208.74.121.68\nserver:~ root$<\/pre>\n\n\n\n<p>Example of PTR record:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">server:~ root$ dig -x 208.74.121.68 +short\nmx1.cpanel.net.\nserver:~ root$<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Spam and other networks<\/h2>\n\n\n\n<p>If email from your server is marked as spam by email networks like Gmail, Yahoo, or Outlook, you need to look into the matter and find a solution. If you have resolved a spam issue on your server or have acquired a new IP address that has sent spam in the past, you need to notify the remote network. Make sure you review the email networks&#8217; policies regarding bulk senders.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Best practices to send bulk email<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Send all bulk emails from the same IP address.<\/li>\n\n\n\n<li>Use the same email address in your emails\u2019&nbsp;<em>From:<\/em>&nbsp;header.<\/li>\n\n\n\n<li>Check to see whether your email complies with RFC 5322.<\/li>\n\n\n\n<li>If you use HTML in your email, be sure it adheres to HTML standards.<\/li>\n\n\n\n<li>Make sure that the contents of your email are relevant to the subject of your email.<\/li>\n<\/ul>\n\n\n\n<p>Related Article:&nbsp;Steps to Add SPF, DKIM, and DMARC Records On Your Domain<\/p>\n\n\n\n<p>&nbsp;That\u2019s how you can keep your email out of the spam folder.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The article contains instructions to make sure other servers or networks do not flag your email as spam. Spam should not be sent by your server. To learn how to prevent emails from ending up in the spam folder, read on. Use email authentication DKIM and SPF DKIM (DomainKeys Identified Mail) and SPF (Sender [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":23377,"menu_order":503,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-16879","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/comments?post=16879"}],"version-history":[{"count":2,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16879\/revisions"}],"predecessor-version":[{"id":21300,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/16879\/revisions\/21300"}],"up":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/23377"}],"wp:attachment":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/media?parent=16879"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=16879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}