Question
Email gets registered as spam
Hi
I finally have my own webserver and wanted to setup a mailserver.
Everything seems to have gone fine, except that Gmail registers my email as spam.
I have tried everything and I even have 10/10 on http://mail-tester.com (Proof: http://upl.drc.ms/p1F4q4N7v9.png)
This is a header of an email getting blocked: http://upl.drc.ms/3C0a5c5403.txt
Hopefully you guys are able to help me
Kind regards
Jelle
Note: this is not on my digitalocean server
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
I see the SPF and DKIM, but where’s your DMARC? Note that not defining a DMARC entry may not be the only reason your emails are being marked as spam, but it may be a factor.
Hi gndo,
Thank you for your fast reply!
I am searching for a DMARC setup tutorial, but can’t seem to find how I would do that.
EDIT: Saw your link, looking into it!
Kind regards
Jelle
All right, I’ve set up my dmarc record, I still have a 10/10 on mail-tester.com and the dmarc is listed, but the mail still gets put in the spam folder…
@jellef6287bdcd2 - It may take a while for you DNS to propagate. Look at your raw gmail header and see if the dmarc was acknowledged and passed. If not, then wait a bit.
@gndo
Thank you so much for your help!
This is the header: http://upl.drc.ms/3S4M5B2S8n.txt
I don’t think it’s already propagated. I’ll reply here in 24 hours if it’s still not working.
Kind regards
Jelle
@jellef6287bdcd2 - Another thing I noticed, your reverse DNS is not valid.
Edit - your reverse DNS hostname is invalid
@gndo I can’t find how to do that.
I have set this up to go to “drcnetwork.com” here: http://upl.drc.ms/76v841D0u0.png
I have also searched for it for a long time, but dig -x 51.255.194.222 returns my domain correctly?
@jellef6287bdcd2 - Again, this may be related to a propagation delay with regards to how DO automatically generates your PTR, but here’s what mxtoolbox.com is telling me:
@gndo
Yes, it could be, because I also changed that a few hours ago.
I didn’t even have a ptr record.
This is my ptr record now:
51.255.194.222.drcnetwork.com ptr mail.drcnetwork.com TTL=4
I don’t know if it’s right and/or if I should be pointing to mail.drcnetwork.com…
Kind regards
@gndo
This is the header now: Email still in spam folder :/
http://upl.drc.ms/8E1m9R2S1U.txt
@jellef6287bdcd2 - spf,dkim,dmarc all pass. Scored negative one on spam. Should be good to go.
@gndo
That was also the case yesterday. It just doesn’t pass…
@jellef6287bdcd2 Huh? Compare X-Spam-Status from yesterday (score=1.0) versus today (score=-1.0)?
Yesterday I had -1.0 as well I think (another mail maybe)
Maybe this is my problem now? (something new I saw today)
My mail is getting sent as plain/text: http://upl.drc.ms/u2S2U4q2j4.png
It says “this mail is not encrypted by drcnetwork.com”
@jellef6287bdcd2 - Not sure what you’re using to indicate that your email is spam? Encryption should not be necessary, but signing helps to not be marked as spam. If you want to make sure your email is being signed, send an empty mail to check-auth@verifier.port25.com to receive a verification report. You should see that your public key was used to verify your mail.
@gndo
I send an email to a gmail address and see that gmail blocks me.
I have tested this with various email addresses.
This is also weird:
As you know, you’ve told me that the reverse DNS from my “mail” is not correct.
But when I try it on mxtoolbox I get this: http://upl.drc.ms/25Q5k3c2D9.png
Which is correct right?
Although, when I try an email test on mxtoolbox I get this:
http://upl.drc.ms/O172u6W285.png
It looks like it detects “mail.drcnetwork.com” somehow, and my reverse dns is drcnetwork.com
I’ve sent an email to the email you provided and this is the report:
http://upl.drc.ms/7B3g4q5l7U.txt
@gndo
Seems like hotmail also blocks me.
@jellef6287bdcd2 - The summary report all checks out. Spamassassin gave it thumbs up. Apparent Indicators show your email is not spam. The only remaining potential problem is your reputation score, which is a block box to me as I don’t exactly know how that is calculated. I’m out of ideas for you. Sorry.
@gndo Dangit! I was really hoping to find my problem…
You don’t have any idea why this happens? :
“As you know, you’ve told me that the reverse DNS from my "mail” is not correct.
But when I try it on mxtoolbox I get this: http://upl.drc.ms/25Q5k3c2D9.png
Which is correct right?
Although, when I try an email test on mxtoolbox I get this:
http://upl.drc.ms/O172u6W285.png
It looks like it detects “mail.drcnetwork.com” somehow, and my reverse dns is drcnetwork.com"
EDIT: I fixed the above! I had to set my reverse dns to web.drcnetwork.com instead of drcnetwork.com because it’s not a good idea to set it as a bare domain name.
Do you by chance know someone that could maybe find my issue? :/
@jellef6287bdcd2 - There’s google’s bulk senders guide and bulk sending troubleshooting guide that might be of use to you. Somewhere in there are their postmaster dashboards, which fortunately I’ve not had to use, and may have some info on their black box for reputation calculations.