Default DirectAdmin SMTP port, hostname and username?

wdc

Verified User
Joined
Dec 8, 2013
Messages
24
Hello,

on my cPanel server i am having PHP script that can send an e-mail via remote SMTP server (it can send using different encoding like base64, 8bit).
On DirectAdmin server i am having e-mail account a@mydomain.com and i want to use it as that SMTP.
I can not find in DA which hostname, username and SMTP port i should be using.

It has some Outlook export, but i am not having outlook and can not find port in that file.
I wish DA shows these important details on E-mail accounts page.
 

ditto

Verified User
Joined
Apr 27, 2009
Messages
2,511
The username is the same as the email address. For IMAP port number is 993, and POP is 995, and for SMTP you use port 465 or 587. You can use the server hostname as IMAP/SMTP address, or you can use mail.yourdomain.com

Most of these settings is shown to you when you create a new mail account. The template is located here: /usr/local/directadmin/data/templates/mail_settings.html - and you can even customize the template as you wish and put it in /usr/local/directadmin/data/templates/custom
 
Top