お名前.comにて取得したドメインでGmailでの送受信をしたい
解決したいこと
お名前.comにてドメインを作成した
お名前.comのウェブメールとGmailを連携し、Gmailにてメールの送受信をできるようにしたい
詳細)
Gmailにて xxxx@gmail.com というメールアドレスを作成
お名前.comにて yyyy@origin_domain.com というメールアドレスを作成
Gmailの設定 -> アカウントとインポート -> メールアドレスの追加 にてyyyy@origin_domain.comを追加
Gmailにて、yyyy@origin_domain.com にて送受信を実施したいが、送信エラーで困っている
発生している問題・エラー
This is the mail system at host mailgw44.onamae.ne.jp.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<xxxxxx@xxxxxxx>: host gmail-smtp-in.l.google.com[xxx.xxxx.xxx.xxx]
said: 550-5.7.26 Your email has been blocked because the sender is
unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with
either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results:
550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [origin_domain.com] with ip:
[yyy.yyy.yyy.yyy] = did not pass 550-5.7.26 550-5.7.26 For instructions on
setting up authentication, go to 550 5.7.26
https://support.google.com/mail/answer/81126#authentication
d9443c01a7336-22ac7a3f257si150775035ad.55 - gsmtp (in reply to end of DATA
command)
自分で試したこと
yyyy@origin_domain.com が送信元として、Gmail宛にメールを送信すると上記のエラーとなる。
SPF [origin_domain.com] with ip:
[yyy.yyy.yyy.yyy] = did not pass 550-5.7.26 550-5.7.26 For instructions on
ここのエラーメッセージを確認し、yyy.yyy.yyy.yyyのIPアドレスをSPF設定に追加することでメール送信ができた。
その後少しすると、yyy.yyy.yyy.yyy のメールアドレスが変わってしまい、メール送信ができなくなってしまった。
ここを参考に
v=spf1 ip4:yyy.yyy.yyy.yyy include:_spf.google.com include:_spf.activegate-ss.jp ~all
このようなSPF設定を追加してみたが、同じエラーメッセージだった。
sfpに設定するincludeがあればご教示お願いしたい。