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. OpenSSH for WindowsとRDP

  2. MAXDB

  3. メインフレーム

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

  5. HDDセクターサイズが4KBに

  6. 基本を知らないことを恥と思ってないITエンジニア

  7. 論理的なバックアップ

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

記事をプリント