Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Best practices for sending outgoing mail from a Plesk server

 
best practicescloudcloud serverdkimdmarc

Question

How to set up a mail server in Plesk to successfully send emails to external mail services?

Answer

Note: These instruction are applicable to Plesk servers that have a local mail server installed and used for the purpose of sending emails.

 

1. Configure the hostname for a Plesk server

Go to Tools & Settings > Server Settings and type in your server's hostname:

Screenshot_2020-11-19_Plesk_Obsidian_18_0_30.png

Note: In Plesk for Windows Server with MailEnable installed, set up the hostname in MailEnable Management Console as well.

 

2. Enable SPF/DKIM/DMARC features

 

    • SPF

      By default, a SPF DNS record is added to the domain's DNS zone during a domain creation, if this DNS record exists in the Plesk DNS Template.

      Make sure there is a TXT record for SPF in domain's DNS settings at Domains > example.com > DNS Settings:

      SPF.png

      To learn more about SPF, visit this KB article.

       

    • DMARC

      Note: By default, a DMARC DNS record is added to the domain's DNS zone during a domain creation, if this DNS record exists in the Plesk DNS Template.

      Make sure there is a TXT record for DMARC in domain's DNS settings at Domains > example.com > DNS Settings::

      DMARC.png

      To learn more about DMARC, visit its overview page.

       

    • DKIM

      Make sure that DKIM support is enabled server-wide in Plesk at Tools & Settings > Mail Server Settings:

      Screenshot_2020-11-19_Plesk_Obsidian_18_0_30_1_.png

      Make sure that DKIM support is enabled for a domain at Domains > example.com > Mail Settings:

      Screenshot_2019-03-28_Mail_Settings_for_example_com_-_Plesk_Onyx_17_8_11.png

      To enable this option for all domains in Plesk, visit these KB articles:

      • enabling DKIM signing for all domains in Plesk for Linux

      • enabling DKIM signing for all domains in Plesk for Windows Server

      Finally, verify that TXT records for DKIM are present in domain's DNS settings:

      DKIM.png

      To learn more about DKIM, SPF, and DMARC Protection, visit this Plesk documentation page.

      Note: In case of multiple DKIM keys are configured, verify that they are set on different selectors (default._domainkey.example.com, new._domainkey.example.com, etc.)

      Use online checkers, like MXToolBox and www.mail-tester.com, to verify that email validation features are configured for the domain: SPF, DMARC, DKIM.

 

3. Create a reverse DNS (PTR record)

 

A reverse DNS (rDNS) lookup returns the hostname of an IP address. Many mailbox providers, including Gmail and Yahoo!, will block email coming from a mail server that does not have rDNS in place.

To configure rDNS, a PTR DNS record should be created by the owner of the IP address. Contact your hosting service provider or Internet Service Provider (ISP) to get more details.

If Plesk is installed on a cloud server, visit this KB article.

 

Additional Information

  • Best Practices for Running Your Own Email Server - Plesk Blog
  • IP address of a Plesk mail server got blacklisted. How to troubleshoot?
Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

WebPros at CloudFest 2023

Read More »

Plesk at CloudFest 2022

Read More »

What is CloudOps?

Read More »
Knowledge Base

Unable to issue a Let’s Encrypt certificate for a domain or its mail in Plesk: the DNS challenge used another IP address

Read More »

Email header analysis reports SPF failed for localhost IP on mail sent from Plesk hosted mailbox: SPF Authentication : SPF Failed for IP – 127.0.0.1

Read More »

How to enable DMARC feature to check incoming mail in Plesk

Read More »

Websites on Plesk server are slow or show error 500 or PHP mail cannot be sent: ap_pass_brigade failed

Read More »

Hosting Wiki

  • Django
  • Server Redundancy
  • Vertical Cloud
  • Cloud Management
  • Cloud Service Architecture
  • QMAIL
  • Sendmail
  • Cloud Computing
  • Linux Containers
  • Amazon CloudFront
  • Google Cloud CDN
  • Cloudflare
  • DKIM
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • JavaScript
  • MongoDB
  • Domain
  • Hosting Control Panel
  • Plesk
  • Web Server
  • Static DNS
  • DNS Server
  • DNS Forwarding
  • Reverse DNS
  • IPv6
  • IPv4
  • SIP
  • UDP/IP
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
  • Email Autoresponder
  • Mailing Lists
  • Email Alias
  • Email Virus Protection
  • Email Forwarding
  • Webmail
  • SPF Record
  • TCP/IP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family