Guspaz wrote:
Here are three things that help:
1) You need to have a proper MX record setup, as you've noted
2) Your IP's reverse DNS that you're sending from should be the same as the domain you're sending mail for (as in, foo.com -> 1.2.3.4, and 1.2.3.4 -> foo.com)
3) You should set up your SPF records properly.
Thank you for helping out. Can you let me know how to correctly check these 3 factors?
1) I have MX records set up for google apps, just like they state in their documentation. I don't have an MX record for my own machine since I don't receive email on that IP. I do have an SPF record that mentions the google apps MX servers as valid senders
2) My email headers now say:
Received: from mail.ourdomain.com (
www.ourdomain.com [x.x.x.X])
should I test RDNS for mail.ourdomain.com (this is the hostname) or for
www.ourdomain.com ? How do I test this 100% correctly?
3) The SPF say "pass" in gmail email headers, is that OK?
Because the test on
http://www.openspf.org/Why gives me the following:
The SPF check gives me this: An SPF-enabled mail server rejected a message that claimed an envelope sender address of
support@ourdomain.com. An SPF-enabled mail server received a message from ourdomain.com (x.x.x.X) that claimed an envelope sender address of
support@ourdomain.com. The domain ourdomain.com has authorized ourdomain.com (x.x.x.x) to send mail on its behalf, so the message should have been accepted. It is impossible for us to say why it was rejected