The trick with the SPF Record

Submitted by hpn on July 29, 2008 - 10:56
With Sender Policy Framework (SPF) Records, one can specify which hosts are authentic senders of email on behalf of the domain. But SPF Records can be tricky if you're using multiple hosts for sending mails (for instance, when all the mails are handled by Google apps but you still use your id to send mails from the server). Correct me if I'm wrong here, but this seems to work out fine for SPF record for setups like the ones mentioned above: v=spf1 a mx include:aspmx.googlemail.com ~all a corresponds to the actual host that the A record points to. mx corresponds to the hosts designated to handle email. And to be on the safer side, the include:aspmx.googlemail.com option. ~ takes care not to be too strict with this and soft fails would still get through. And the test script for SPF record confirms the record to be valid.

Add new comment

The content of this field is kept private and will not be shown publicly.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.