Enable SMTP Authentication

Maybe we should start at the beginning and work down through it all?

What do you have set for:
ssl_configuration=
in
Code:
cd /usr/local/directadmin/custombuild
cat options.conf
in same file
what do you have for:
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=
pigeonhole=

To look at Gmail just look on the right click on the ellipse for More > show original

do you see pass
SPF:PASS with IP
DKIM:'PASS' with domain
DMARC:'PASS'
 
Maybe we should start at the beginning and work down through it all?

What do you have set for:
ssl_configuration=
in
Code:
cd /usr/local/directadmin/custombuild
cat options.conf
in same file
what do you have for:
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=
pigeonhole=

To look at Gmail just look on the right click on the ellipse for More > show original

do you see pass
SPF:PASS with IP
DKIM:'PASS' with domain
DMARC:'PASS'

[root@ds custombuild]# cat options.conf


#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



#PHP extensions can be found in php_extensions.conf
[root@ds custombuild]#
 
Maybe we should start at the beginning and work down through it all?

What do you have set for:
ssl_configuration=
in
Code:
cd /usr/local/directadmin/custombuild
cat options.conf
in same file
what do you have for:
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=
pigeonhole=

To look at Gmail just look on the right click on the ellipse for More > show original

do you see pass
SPF:PASS with IP
DKIM:'PASS' with domain
DMARC:'PASS'


Subject:Hi
SPF:PASS with IP x.x.x.x Learn more
DKIM:'PASS' with domain xxxx.com Learn more
DMARC:'PASS' Learn more
 
[root@ds custombuild]# cat options.conf


#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



#PHP extensions can be found in php_extensions.conf
[root@ds custombuild]#
good
 
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
Ok do we have an A record for your main server hostname
if you do
Code:
hostnamectl
and look in DNS on DA do you have A record for this Name
I assume it is ds.yourdomainname.tld
 
Ok do we have an A record for your main server hostname
if you do
Code:
hostnamectl
and look in DNS on DA do you have A record for this Name
I assume it is ds.yourdomainname.tld


[root@ds ~]# hostnamectl
Static hostname: ds.xxxxx.com
Icon name: computer
Machine ID: bc317f4823fa4cdebef2ded563da0837
Boot ID: aebed391ffc24261846047bd05a4b79f
Operating System: CloudLinux 7.7 (Valery Bykovsky)
CPE OS Name: cpe:/o:cloudlinux:cloudlinux:7.7:GA:server
Kernel: Linux 3.10.0-962.3.2.lve1.5.31.el7.x86_64
Architecture: x86-64
[root@ds ~]#
 
For your hostname for the server did you do this?


if you do https://ds.xxxxx.com:2222

does it go there securely?

I got the below mention error . Please advise me

./letsencrypt.sh request_single ds.xxxxx.com 4096
Setting up certificate for a hostname: ds.xxxxx.com
Error: http://ds.xxxxx.com/.well-known/acme-challenge/letsencrypt_1589481252 is not reachable. Aborting the script.
dig output for ds.xxxxx.com:
Please make sure /.well-known alias is setup in WWW server.
[root@ds scripts]#
 
Now we are getting somewhere..
dig output for ds.xxxxx.com:
so when you do
Code:
dig ds.xxxxx.com

does it give you something like
;; ANSWER SECTION:
ds.xxxxx.com. 86400 IN A your server ip here

if no did we set up the A record for the server ds.xxxxx.com in DNS Management on the server?
 
Now we are getting somewhere..

so when you do
Code:
dig ds.xxxxx.com

does it give you something like
;; ANSWER SECTION:
ds.xxxxx.com. 86400 IN A your server ip here

if no did we set up the A record for the server ds.xxxxx.com in DNS Management on the server?



[root@ds scripts]# dig ds.xxxxx.com

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>> ds.xxxxx.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33116
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ds.xxxxx.com. IN A

;; AUTHORITY SECTION:
xxxxx.com. 14400 IN SOA ns1.xxxxx.com. hostmaster.xxxxx.com. 2020051400 14400 3600 1209600 86400

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 14 14:49:26 EDT 2020
;; MSG SIZE rcvd: 96

[root@ds scripts]#
 
Ok so you need an A record set for ds.xxxxx.com.

This should help
 
h1.png


h2.png
 
Thank you so much bdacus. I really appreciate your help . Many Thanks. You helped me lot. Thanks
 
Back
Top