• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Ubuntu 18.04 w/ Plesk Obsidian 18.0.24 - Emails going to spam folder

n3tro

New Pleskian
Hi,

Recently my company signed up for VPS service that has Plesk Obsidian 18.0.24 installed on our Ubuntu server,
one of the benefits of having this VPS is having mail server to send information to our clients,
but we have a problem with emails sent to our customers always going to spam folder,

Mail Server Settings
- DMARC is enabled.
TXT ( v=DMARC1; p=none; sp=quarantine; rua=mailto:[email protected] )

- DKIM spam protection to sign outgoing email is enabled.
TXT ( v=DKIM1; k=rsa; p=MIGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX )

- SPF spam protection is enabled
TXT ( v=spf1 +a +mx +ip4:167.XXX.XXX.XXX -all )


Result from mxtoolbox.com

6 Problems
CategoryHostResult
problem.png
dmarcmycompanydomain.comDNS Record not found
info.png
More Info
problem.png
spfmycompanydomain.comDNS Record not found
info.png
More Info
problem.png
mxmycompanydomain.comNo DMARC Record found
info.png
More Info
warning.png
mxmycompanydomain.comDMARC Quarantine/Reject policy not enabled
info.png
More Info
warning.png
smtpmail.mycompanydomain.comReverse DNS does not contain the hostname
info.png
More Info
warning.png
smtpmail.mycompanydomain.comReverse DNS does not match SMTP Banner
info.png
More Info

Result from mail-tester.com

-0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid
This rule is automatically applied if your email contains a DKIM signature but other positive rules will also be added if your DKIM signature is valid.
See immediately below.

-1.274 RDNS_NONE Delivered to internal network by a host with no rDNS
This may indicate you do not have a rDNS configured for your hostname or the rDNS does not match your sending IP

-0.01 T_DKIM_INVALID Your DKIM signature is not valid
Have a look at our DKIM test below to know why, this may be a false-positive

- Your DKIM signature is not valid
We were not able to retrieve your public key.
Please ensure that you inserted your DKIM TXT DNS record on your domain mycompanydomain.com using the selector default.


Anyone knows how to fix it? Thank you
 
Last edited:
assuming you are using an external dns server or even if you are using your own name server you need to add the key to the dns

im using 123-reg as my domain name is registered with them i have not set up two external ip yet to host my own name server

you will need to enter something like this

dns entry = default._domainkey
type = txt/spf
destination = v=DKIM1; k=rsa; p=MIGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

this is likely your cause as unless you are hosting your own name server and are using two external ip's then all dns entires are actually served via the domain register and you will need to add the entry there

have a look at the attached picture
 

Attachments

  • Screenshot_2020-03-07 DNS Management - 123 Reg Control Panel.png
    Screenshot_2020-03-07 DNS Management - 123 Reg Control Panel.png
    12.2 KB · Views: 34
assuming you are using an external dns server or even if you are using your own name server you need to add the key to the dns

im using 123-reg as my domain name is registered with them i have not set up two external ip yet to host my own name server

you will need to enter something like this

dns entry = default._domainkey
type = txt/spf
destination = v=DKIM1; k=rsa; p=MIGXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

this is likely your cause as unless you are hosting your own name server and are using two external ip's then all dns entires are actually served via the domain register and you will need to add the entry there

have a look at the attached picture
yes you are right, thank you
 
Back
Top