ITで遊ぶ

Gmailのエラー対策(SPFレコード)

エラーの内容を読めば予想がつくけど、

Diagnostic-Code: smtp; 550-5.7.26 This mail is unauthenticated, which poses a
security risk to the 550-5.7.26 sender and Gmail users, and has been
blocked. The sender must 550-5.7.26 authenticate with at least one of SPF
or DKIM. For this message, 550-5.7.26 DKIM checks did not pass and SPF
check for [宛先ドメイン] did not 550-5.7.26 pass with ip: [157.7.106.88].

なんてエラーが出ていたら、SPFレコードが一致していないから。

SPFレコードと複数ドメインの設定はこちらを参考にさせていただきました。

例えば

include:_spf.google.com -all

include:servers.mcsv.net -all

を指定したいならば、TXTに

v=spf1 include:_spf.google.com include:servers.mcsv.net -all

~allは後ろに一個。

ドメインの設定ってむつかしいね。

関連記事

  1. RubyとPHPを比較?

  2. FC over Ether

  3. Googleの考えるクラウド

  4. CPU100%だから問題だ?

  5. ビッグデータ時代?

  6. 看護師や検査員がシステムを設計する

  7. ひどいIBMのRationalの宣伝

  8. 太陽の黒点と景気の奇妙な合一

記事をプリント