Enable SMTP Authentication

pixGT

Verified User
Joined
Feb 3, 2020
Messages
149
Hi

I need to Enable SMTP Authentication for DirectAdmin. Please advise me how to do that. I searched through the google. But I didn't find a usable post.
 
Hello.
That's odd, I just typed in "smtp authentication directadmin" without the " and instantly got DA's results on top of the result page.

Anyway, if you have the latest spamblocker exim.conf and exim.pl file it works automatically.

Are you using the latest configuratin file? If yes, do you have issues with smtp authentication?
 
Ah I just have seen your other thread.
When sending mailts to mail-tester.com they should have some content, I always write something in there.
Now the test is saying your -server- needs authentication, seems to me that is not smtp authentication.

Check your MX records, and very important, does your server has an rDNS record.
Go to a site like intodns.com and test your DNS settings too.
 
Well I would first check you are on the latest settings for Mail in general. SMTP auth is on for me out of the box. I would check your options.conf

Make sure it is something like
Code:
#Mail Settings
exim=yes
eximconf=yes
eximconf_release=4.5
blockcracking=yes
easy_spam_fighter=yes
spamd=rspamd
sa_update=daily
dovecot=yes
dovecot_conf=yes
mail_compress=yes
pigeonhole=yes
 
Good choice. However the last two are not required I don't use them either:
mail_compress=no
pigeonhole=no
So you can also leave them like this.
 
Well I would first check you are on the latest settings for Mail in general. SMTP auth is on for me out of the box. I would check your options.conf

Make sure it is something like
Code:
#Mail Settings
exim=yes
eximconf=yes
eximconf_release=4.5
blockcracking=yes
easy_spam_fighter=yes
spamd=rspamd
sa_update=daily
dovecot=yes
dovecot_conf=yes
mail_compress=yes
pigeonhole=yes


Where is this located in options.conf ?
 
Ah I just have seen your other thread.
When sending mailts to mail-tester.com they should have some content, I always write something in there.
Now the test is saying your -server- needs authentication, seems to me that is not smtp authentication.

Check your MX records, and very important, does your server has an rDNS record.
Go to a site like intodns.com and test your DNS settings too.

I already set rDNS. But the problem is still same.
 
Where is this located in options.conf ?
You can check in the admin GUI with custom build plugin in the option settings tab or from ssh.

or are you saying you don’t know were the options .conf is?
 
if you have just set the reverse DNS, you need to give it up to 24 hours for dns propagation so you gonna be try again later

I set my rDNS 3 months ago. . I checked my rDNS with intodns. there is no issues with that
 
why.png
 
Problem is still same. I added my A record for the host name. No luck :(
 
Hi bdacus

I fixed lots of issues. I'm still stuck here.

We check if the server you are sending from is authenticated
 
This is the second issue.

You may want to publish a DNS record (A type) for the hostname xx.xxx.com or use a different hostname in your mail software. I already added A record my hostname via DirectAdmin
 
Back
Top