DirectAdmin SMTP Configuration is now so simple with these steps in this article.


The default settings that come with DirectAdmin installations are the most comprehensive and effective. Usually, all of the settings for the mail software are there when you create a new POP/SMTP/IMAP account (email box) in DirectAdmin.

Let’s see the steps to configure SMTP on DirectAdmin.

DirectAdmin SMTP Configuration: Steps

The following steps help to configure SMTP on DirectAdmin:

Firstly, we have to create an email account in DirectAdmin.
Now we can configure incoming emails in the email program with the below settings:

For IMAP server:
server or host: mail.YOURDOMAIN.COM (change YOURDOMAIN.COM for the domain which we use)
port for STARTTLS: 143
port for SSL/TLS: 993
port for unsecured connections: 143
user or login: Your full email address
authentication method: standard password

For POP server:
server or host: mail.YOURDOMAIN.COM (change YOURDOMAIN.COM for domain which You use)
port for STARTTLS: 110
port for SSL/TLS: 995
port for unsecured connections: 110
user or login: Your full email address
authentication method: standard password

Then we can configure outgoing emails with below settings:
SMTP server:
server or host: mail.YOURDOMAIN.COM (change YOURDOMAIN.COM for domain which You use)
port for STARTTLS: 587
port for SSL/TLS: 465
port for unsecured connections: 587
user or login: Your full email address
authentication method: standard password

1 - We have to provide the password we used to create the email account in DirectAdmin when we connect to the email account for the first time.


2 -  We might occasionally need to accept a server SSL certificate. We may need to check an option like “Accept untrusted certificates” on some email systems.


3 - If you willing to use SMTP in php application to send notifications then please submit request to whitelist email to send mail from code. Raise ticket with reason to allow.