{"id":742,"date":"2020-10-04T17:30:50","date_gmt":"2020-10-04T17:30:50","guid":{"rendered":"https:\/\/server-help.org\/?p=742"},"modified":"2020-11-05T02:43:53","modified_gmt":"2020-11-05T02:43:53","slug":"configuring-custom-mail-server-in-plesk-with-linux-the-basics","status":"publish","type":"post","link":"https:\/\/server-help.org\/index.php\/2020\/10\/04\/configuring-custom-mail-server-in-plesk-with-linux-the-basics\/","title":{"rendered":"Configuring custom mail server in Plesk with Linux. (The basics) Cloud VPS &#038; Full Cloud &#038; BMC."},"content":{"rendered":"\n<p>To start you will need a domain registered by you that you own, or have control over.<\/p>\n\n\n\n<ol><li>The first thing you will do is create a subdomain\u2026 Typically, mail.YOURDOMAIN.TLD.<br> (Note: YOURDOMAIN.TLD is an example, and should be replaced with your domain name).<\/li><li>Set the A record for mail.YOURDOMAIN.TLD to your server&#8217;s IP address.<\/li><li>Set the MX records for YOURDOMAIN.TLD to mail.YOURDOMAIN.TLD<\/li><li>Use this article to configure server wide mail settings. <br> https:\/\/docs.plesk.com\/en-US\/onyx\/administrator-guide\/mail\/configuring-serverwide-mail-settings.59430\/<\/li><li>Use your cloud panel firewall to allow your mail ports (Ports listed below).<br> Mail ports:  <br> Port 110 &#8211; this is the default POP3 non-encrypted port<br> Port 995 &#8211; this is the port you need to use if you want to connect using POP3 securely<br> Port 143 &#8211; this is the default IMAP non-encrypted port<br> Port 993 &#8211; this is the port you need to use if you want to connect using IMAP securely<br> Port 25 &#8211; this is the default SMTP non-encrypted port<br> Port 465 &#8211; this is the port used if you want to send messages using SMTP securely<\/li><li>Reverse DNS &#8211; is set in the cloud panel &gt; network &gt; public IP &gt; Select the IP and scroll down. You will see a pencil icon next to the IP. Click it, and put in your valid domain name. Set it to mail.YOURDOMAIN.TLD<\/li><li>Set your Hostname in plesk to mail.YOURDOMAIN.TLD <br> https:\/\/support.plesk.com\/hc\/en-us\/articles\/213941265-How-to-change-or-get-a-server-hostname-on-Plesk-server<\/li><li>Create your first email account in plesk for testing.<br> https:\/\/docs.plesk.com\/en-US\/obsidian\/customer-guide\/quick-start-with-plesk\/set-up-mail-accounts\/1-create-mail-account.69277\/<\/li><\/ol>\n\n\n\n<p>Additional information for configure SPF and DKIM, which is needed:<\/p>\n\n\n\n<p>Mail logs &#8211;  Over SSH\u2026 review your mail logs in \/var\/log\/maillog for any mail errors sending, etc, if you are having issues.<\/p>\n\n\n\n<p>DKIM &#8211; https:\/\/docs.plesk.com\/en-US\/onyx\/customer-guide\/mail-settings\/enabling-dkim-email-signing.74718\/<\/p>\n\n\n\n<p>How-to-get-the-DKIM-public-key-from-Plesk-if-DNS-is-not-installed<br> https:\/\/support.plesk.com\/hc\/en-us\/articles\/115000214973-How-to-get-the-DKIM-public-key-from-Plesk-if-DNS-is-not-installed- <\/p>\n\n\n\n<p>DKIM Validator&#8230; https:\/\/dkimvalidator.com\/<\/p>\n\n\n\n<p>SPF &#8211; https:\/\/support.plesk.com\/hc\/en-us\/articles\/213937025-What-is-the-SPF-How-to-configure-and-use-SPF-on-Plesk-server-<\/p>\n\n\n\n<p>CREATING \/ Modifying SPF RECORDS: https:\/\/www.spfwizard.net\/<\/p>\n\n\n\n<p>Emails sent from a Plesk server to mail services like Gmail, Outlook or Yahoo! Mail appear in spam. How to troubleshoot? <br>\nhttps:\/\/support.plesk.com\/hc\/en-us\/articles\/115003843813-Outgoing-emails-sent-from-Plesk-server-to-mail-services-like-GMail-Yahoo-Hotmail-goes-to-spam-folder-How-to-troubleshoot-<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To start you will need a domain registered by you that you own, or have control over. The first thing you will do is create a subdomain\u2026 Typically, mail.YOURDOMAIN.TLD. (Note: YOURDOMAIN.TLD is an example, and should be replaced with your domain name). Set the A record for mail.YOURDOMAIN.TLD to your server&#8217;s IP address. Set the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,4,1,7],"tags":[],"_links":{"self":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/742"}],"collection":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/comments?post=742"}],"version-history":[{"count":5,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/742\/revisions"}],"predecessor-version":[{"id":753,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/742\/revisions\/753"}],"wp:attachment":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/media?parent=742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/categories?post=742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/tags?post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}