When you host your email on your domain with a Simple Mail Transfer Protocol (SMTP) server, you gain significant control and flexibility. This approach allows you to select a personalized email address that aligns perfectly with your business or personal brand. All your email data remains private, securely stored on a server or hosting account that only you can access. Furthermore, hosting your own email prevents vendor lock-in; you're free to migrate to a different hosting provider without hindrance, as your email infrastructure isn't tied to a specific hosted service.
So, why don't more individuals and businesses opt to host their own email? The primary reason is often the perceived complexity of setting up an email server independently, which can seem daunting. It typically requires a deep understanding of concepts such as SMTP, IMAP, Exim, mail routing, and more. However, for those utilizing cPanel & WHM, the process becomes significantly more manageable. These platforms provide the essential tools needed to quickly set up and connect to email accounts via SMTP. For the majority of cPanel users, sending mail through their server is as straightforward as creating an email account and configuring their preferred email application.
In this article, we will guide you through this exact process. We'll provide a clear, step-by-step walkthrough for setting up an email account and demonstrate how to configure your applications using cPanel's SMTP settings. Additionally, we will explore some of the most prevalent SMTP errors you might encounter and provide practical solutions for resolving them.
What is SMTP?
SMTP, or Simple Mail Transfer Protocol, is the foundational communication protocol that applications use to send emails over the internet to mail servers. When you click "send" in your email application—whether it's Apple Mail®, Microsoft Outlook®, Thunderbird®, or any other email client—the application initiates contact with a designated server, authenticates your identity, and attempts to deliver the contents of its outbox. The server to which your application sends mail is referred to as the outgoing mail server, and the software it connects to is known as a Mail Transfer Agent (MTA).
The MTA residing on the server receives the messages from your email application, places them into a queue, and then forwards them to the recipient’s MTA, which subsequently delivers the messages to their inbox. cPanel includes an integrated Mail Transfer Agent called Exim. Like all MTAs, Exim utilizes SMTP to facilitate communication with mail clients and and other MTAs. This is precisely why MTAs are frequently referred to as SMTP servers.
Generally, cPanel users are not required to configure Exim directly or delve into the intricate details of SMTP, as cPanel efficiently handles these technical specifics behind the scenes. However, it may become necessary to adjust certain configuration settings if you or your users encounter email-related errors or delivery issues.
Before we delve into troubleshooting common problems, let’s first establish the fundamental steps for setting up an email account on your server and configuring your email client to send messages to the MTA via SMTP.
How to Set Up SMTP in cPanel
The cPanel SMTP setup process is comprised of two primary steps:
- Creating an email account directly on your server.
- Entering the account’s server and authentication information into your chosen email client.
First, let’s begin by creating a new email account. In your cPanel interface, navigate to the Email Accounts interface, which you will find within the Email section of the main page menu. This area allows you to manage all email addresses associated with your domain.

Once on the Email Accounts page, locate and click the “Create” button to initiate the new account setup.

On the subsequent page, you will be prompted to select a domain for the email account, choose a unique username (the part before the @ symbol), and set a strong, secure password. After filling in these details, click the Create button at the bottom of the page, and cPanel will swiftly generate your new email account.
The next crucial step is to configure your email client so it knows precisely which server to connect to and how to authenticate your identity. The necessary cPanel SMTP settings are conveniently accessible within the Connect Devices interface. This section provides all the technical details required for your email application.

On this page, you will find essential information such as your username, the URL of the outgoing server, and its corresponding SMTP port number. These are the specific details you will need to input into your email application for proper configuration.

We highly recommend using the more secure SSL/TLS details for your connection rather than the insecure Non-SSL settings. Utilizing SSL/TLS encrypts your email communications, protecting your data from interception.
While there are numerous mail clients available, the process of configuring them to send emails through your server is typically quite straightforward. For your convenience, here are links to detailed setup documentation for popular clients: for Apple Mail on macOS and for Thunderbird.
Troubleshooting Common SMTP Errors in cPanel
Ideally, you should now be able to send messages seamlessly from your personalized email address via your server. However, email systems can be complex, and it’s not uncommon for misconfigurations to lead to authentication failures or mail delivery issues. Understanding these errors is key to resolving them efficiently.
SMTP errors frequently manifest as undelivered messages. You might attempt to send an email only to receive a rapid response containing an often cryptic error message accompanied by a numerical code. In the remainder of this article, we will examine how you or your hosting provider can effectively resolve a couple of the most common and frustrating SMTP errors.
Error 421 – Too Many Concurrent SMTP Connections
Exim, the default MTA in cPanel, enforces a limit on the number of SMTP connections it allows simultaneously. This safeguard is in place to prevent the server from becoming overwhelmed by excessive requests. However, on a particularly busy server, the default cPanel setting of 100 concurrent connections might prove to be too low, leading to Error 421.
This connection limit is controlled by the “smtp_accept_max” directive within Exim’s configuration file. You can adjust this critical value in WHM (Web Host Manager) by navigating to the Exim Configuration Manager, which is located under the Service Configuration section in the sidebar menu.

Once in the Exim Configuration Manager, select the Advanced Editor tab and use the search function to find “smtp_accept_max.” You can then adjust this value upwards to accommodate more concurrent connections. However, it is crucial to be aware that setting this value too high can potentially cause the mail server to exhaust its memory resources and crash, so exercise caution and monitor server performance after any changes.
Error 550 – Please Turn on SMTP Authentication in Your Mail Client
When your mail client attempts to send messages, it must provide authentication credentials over a secure connection. This security measure is vital; if anyone could connect and send messages without proving their identity, your server would quickly become a target for spammers. Therefore, the client must establish itself as a legitimate sender for that specific email account.
You will typically receive an Error 550 message when there is an issue with this authentication process. Several potential factors can contribute to the occurrence of this error.
Misconfigured SMTP Client Authentication
Most frequently, Error 550 is a result of either a misconfiguration within the email client itself or the use of an outdated client that lacks the necessary capabilities to establish a secure SMTP connection. This is often the likely culprit if only one or a small number of users are experiencing the error while others can send mail successfully.
The most effective solution is to ensure you are using a modern email client configured with the correct authentication details, including username, password, and secure connection settings (SSL/TLS). If upgrading or reconfiguring the client isn't immediately feasible, WHM offers a specific tweak setting that allows SMTP connections from users who have previously authenticated with POP or IMAP—the protocols used for retrieving messages from the server. This is often referred to as "POP-before-SMTP".
To enable this tweak, navigate to the Tweak Settings interface, which is located under Server Configuration in the WHM sidebar menu. Search for “Pop-before-SMTP” and activate this option. This allows the mail server to temporarily trust an IP address for sending mail via SMTP after it has successfully authenticated for receiving mail.

Incorrect Email Routing for the Domain
If a user encounters a 550 error when attempting to send a message to an account that is hosted on your server, the problem likely stems from an incorrect domain routing configuration. Typically, this occurs because the domain is mistakenly configured to use a remote mail exchanger rather than the one located on your local server.
To ensure that emails for the domain are correctly processed by the local mail exchanger, navigate to Edit MX Entry within the DNS Functions section of the WHM sidebar menu. Choose the relevant domain from the list and click Edit. Verify that the Local Mail Exchanger option is selected. This tells the server to handle mail for this domain internally.

Another potential cause for this error is misconfigured MX records for the domain. These are crucial DNS records that specify which mail servers are responsible for accepting email messages on behalf of a domain. You can utilize the “dig” command-line tool to check if your MX records point to the correct IP address or hostnames.

In the example above, we use the dig command to determine where the MX records for our domain are pointing, and then further verify that the domain name record itself includes the expected IP address, ensuring consistency in mail routing.
We have covered the most frequent causes of 550 errors; however, there are a few less common culprits. For more in-depth information and additional troubleshooting steps, you can refer to our comprehensive SMTP authentication error troubleshooting tutorial.
Take Control of Your Email with cPanel
Email serves as an indispensable component of your brand identity and represents a vital communication link to your customers, clients, and colleagues. By choosing to host your own email, you gain complete control over both your brand's presence and the privacy of your valuable data. With the intuitive interfaces of cPanel & WHM, setting up and efficiently managing a private email account has never been more accessible or straightforward.
