Gmail sends e-mails to spambox (when sender is not in address book)

spottraining

Verified User
Joined
Jun 19, 2007
Messages
40
Hi

I am working with this issue now several months already, and I can't figure out - why Google marks from my server messages as spam, when sender is not in google address book.
I checked SPF, RDNS, DKIM etc. But still the same problem. Server is no listed at any spamlist. Allaboutspam.com results are here: http://www.allaboutspam.com/email-server-test-report/?key=43BAB68DC53D983805723B94F6A022FC and only yellow thing there is BATV thing. But I haven't find any solution yet, how to implement it for DirectAdmin server.
I looked Gmail headers also and there I can see, that SPF - passes, DKIM passes - evrythings seems to be fine, but still - messages going to spam box. When sender is added to address book - after that - no problem any more.

What else can I look?
 
When gmail accepts your mail what exactly does it say on the logline?

Jeff
 
Just a thought, are you struggling with the same type of e-mail (e.g. DA new user creation message), or all e-mails from the server?

Have you tried sending the same e-mail from another server?

Gmail often marks spam based on contents is my experience.

How I can look it? From headers again?

You can look into /var/log/exim/mainlog

A useful command to monitor the log from shell:

tail -f /var/log/exim/mainlog

That way, as soon as a new e-mail is being sent, you will see the new log lines appear on your screen.
 
All e-mails from server going to spam - not only new user registrations or automated messages. Logline:
2014-04-15 11:30:47 1Wa6Fz-000827-JW <= [email protected] H=localhost (oniar.eu) [127.0.0.1] P=esmtpa A=login:[email protected] S=552 [email protected] T="testkiri" from <[email protected]> for [email protected]
2014-04-15 11:30:47 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1Wa6Fz-000827-JW
2014-04-15 11:31:03 1Wa6Fz-000827-JW ASPMX.L.GOOGLE.COM [2607:f8b0:4001:c03::1b] Network is unreachable
2014-04-15 11:31:05 1Wa6Fz-000827-JW => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=573 H=ASPMX.L.GOOGLE.COM [74.125.142.27] X=UNKNOWN:ECDHE-RSA-AES128-GCM-SHA256:128 C="250 2.0.0 OK 1397579465 ng1si13223658icc.16 - gsmtp"
2014-04-15 11:31:05 1Wa6Fz-000827-JW Completed
 
It appears that you're getting 250 OK from Google. If that's so, then you need to verify that your rDNS matches your hostname. According to the spf record for oniar.eu, you're probably sending your email from 63.141.236.154, but I cannot get rDNS for that IP#; I get serverfail and timeouts. If Google is having the same problems getting rDNS as I'm having, then they're going to consider you as a possible spammer because of problems with your rDNS.

You need to make sure your rDNS matches your hostname, and that it works.

Jeff
 
Back
Top