存在しているメールアドレスなのにMAILER-DAEMONで返ってきたので調べてみました
はじめに
メールアドレスが存在しているのにMAILER-DAEMONで返ってきておかしいと思い調べてみるとgoogle側の仕様変更が原因でした
来たメール
差出人: Mail Delivery Subsystem
件名: Returned mail: see transcript for details—– The following addresses had permanent fatal errors —–
(reason: 550-5.7.26 Your email has been blocked because the sender is unauthenticated.)—– Transcript of session follows —–
… while talking to gmail-smtp-in.l.google.com.:
>>> DATA
<<< 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 [hogehoge.com] with ip: [11.111.111.111] = 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 d2e1a72fcca58-71944a92beesi10318918b3a.44 - gsmtp 554 5.0.0 Service unavailable
こういったメールが届きました。
reason: 550-5.7.26 Your email has been blocked because the sender is unauthenticated.
送信者が認証されていないため、メールがブロックされました。
と言う事みたいです。
今回はさくらサーバーを使っているのでさくらでの設定方法をご紹介いたします。
さくらサーバーにログイン後、メール→メールドメインをクリックします。
操作の設定内にあるDKIM設定をクリックします。
DMARCレコードを利用するにチェックを入れます。
迷惑メールフォルダに保存するにします。
これは、送信したメールが届いているかどうかとかの内容を迷惑メールフォルダに保存してくれるので何かトラブルがあった場合のチェックがしやすくなります。
そして設定するをクリックします。
これでDKIM設定が完了しました。
送信者の認証の設定が完了しました。
ドメインの認証と言う中にDKIMとDMARCが表示されていて、gmailにメールを送信して返ってこなければメールの認証が完了しています。
以上でGmailに送ったメールが550-5.7.26でMAILER-DAEMONの説明を終了いたします。
さいごに
設定関係は1回で済む
1回で済むのがわかっているが設定することが面倒なんですよね




















