送信したメールが受信側でsoftfail となる場合の対処メモ
自前メールサーバーからメールを送信したところ、受信したGmailでSPAM扱いされていた。メールのsourceを見ると、
Received-SPF: softfail (google.com: domain of transitioning noreply@xxxxx.jp does not designate 11.111.111.1 as permitted sender) client-ip=11.111.111.1;
Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning noreply@xxxxx.jp does not designate 11.111.111.1 as permitted sender) smtp.mail=noreply@xxxx.jp
のようにSPFチェックで softmail の判定。
しかも、表示されているIPアドレスは送信サーバーのアドレスとは違っていた。
=> 対応
DNSサーバーでの逆引き設定が抜けていたため、逆引き設定を追加
参考