Postfix: Gmail marking my email as spam
Apparently after a few days it start working fine.
Right now, I guess what really matters in GMAIL is actually passing this tests:
SPF check: pass
DomainKeys check: neutral
DKIM check: pass
Sender-ID check: pass
SpamAssassin check: ham
And wait 3 or 4 days so google can update their servers. Seems like the spam filter does some kind of internal cache on DKIM
and SPF
lookups for a particular domain.
UPDATE: This problem seems to be back, I've no ideia how to fix it.
Related videos on Youtube
![Rob Cle](https://lh6.googleusercontent.com/-E-P8Y4dKfMA/AAAAAAAAAAI/AAAAAAAAAAA/ACHi3reH08X91L_RRbve4VOT-JeSJ-6tgw/photo.jpg?sz=256)
Comments
-
Rob Cle almost 2 years
I'm been trying to understand why Gmail is treating the email sent from one of my domain/server as SPAM. I found a lot of threads here about this issue, however I checked the usual suspects like domain keys, spf etc.
My email is accepted by Outlook.com, which from my understanding has a lot more aggressive spam filter.
I tested my config using
[email protected]
and I got this:SPF check: pass DomainKeys check: neutral DKIM check: pass Sender-ID check: pass SpamAssassin check: ham
Everything looks fine.
After sending an email to a gmail account I get this under the headers:
Received-SPF: pass (google.com: domain of [email protected] designates 89.x.x.8 as permitted sender) client-ip=89.x.x.x; Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 89.x.x.8 as permitted sender) [email protected]; dkim=pass [email protected]
As you can see, the email is passing on
spf
anddkim
without issues on gmail servers.Finally I checked my server IP, hostname and domain at
http://mxtoolbox.com/blacklists.aspx
for RBL blocks and they're not listed anywhere.Why is gmail treating my emails as SPAM? It makes no sense, I've complied with every single good practice.
Other Note:
- Reverse DNS is also ok;
- Tests at
http://www.allaboutspam.com
are green except forEmail server is not using BATV format
;
Thank you.
-
djsumdog over 5 yearsUnless you send a lot of e-mail from your server, slowly ramp up the sending from it, and get a lot of people to mark it as "not spam", then you will always hit this issue. This has to do with the magical black box that Google/Microsoft use to filter e-mail. There's more about it here: penguindreams.org/blog/…