Emails sent by mta from my server recognizes by spam filters as spam and there's message : Received-SPF: neutral ...
Actually, I am not spammer :)
So, I googled around these questions and found that I need setup two things
- SPF record
- DKIM
Now I am trying to correctly setup and tune on server SPF record.
So, I did already:
a. added spf record to domain hosted zone on amazon.
It's something like this :
"v=spf1 a mx ptr ip4:ip_adress_where_from_i_send_mail -all"
b. checked spf record through spf query lib and also through spf checker http://www.kitterman.com/spf/validate.html
spfquery --scope mfrom --id noreply@mydomain.com --ip ip_adress_where_from_i_send_mail
Result :
Received-SPF: pass
c. setup on server domainname, it was empty, maybe this is useless action, not sure
sudo domainname mydomain.com
but now i get in exim logs :
[4:11:23 PM] Sergey Glazyrin:
2012-09-29 17:08:15 1THwmF-00086h-2Y <= noreply@mydomain.com U=www-data P=local S=847 id=b1e267a45af62b2132fe36125b00e1ed@mydomain.com
2012-09-29 17:08:15 1THwmF-00086h-2Y aspmx.l.google.com [2a00:1450:4001:c02::1b] Network is unreachable
2012-09-29 17:08:16 1THwmF-00086h-2Y => dev@mydomain.com R=dnslookup T=remote_smtp H=aspmx.l.google.com [173.194.70.27] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com"
2012-09-29 17:08:16 1THwmF-00086h-2Y Completed
And I am not sure what to check/do now ?