Default DirectAdmin SMTP port, hostname and username?

wdc

Verified User
Joined
Dec 8, 2013
Messages
37
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,580
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
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,273
Location
Maastricht
No sorry. Due to my answer to you I don't see any need for upvoting your request.
Ditto explained how you can use it and I personally don't see any reason for using the hostname as smtp server since mail.domain.com kan be used as smtp server.
 
Top