WADAXでのDKIMを有効化する

本ページは広告が含まれています。気になる広告をクリック頂けますと、サーバ運営費になります(^^

WADAXからGmailへメールが送れない

WADAX共用レンタルサーバ内にあるメールアドレスから、Gmailへメールを送るとエラーメッセージが返ってきてメールが送れない。

This is the mail system at host wps00.wadax.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

<test@gmail.com>: host gmail-smtp-in.l.google.com[142.251.170.27] said:
    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 [test.jp] did not
    pass 550-5.7.26 with ip: []. The sender should visit
    550-5.7.26  https://support.google.com/mail/answer/81126#authentication for
    550 5.7.26 instructions on setting up authentication.
    l3-20020a656803000000bc19esi2715791pgt.776 - gsmtp (in reply to
    end of DATA command)

エラー内容から、SPFレコードがおかしいのと、DKIMが設定されていないのが分かった。

DKIMを有効にする方法

ドメイン → メール設定

迷惑メールメッセージに電子署名するためにDKIMスパム防止システムを使用にチェックする

DKIM関係のレコードは自動的に挿入されます(これは便利!)

Gmailにて、DKIMもPass判定となった

上記設定により、DKIMもPassされ、無事Gmailへメールが送られるようになった。

Gmailで受信したメールのヘッダより。

Authentication-Results: mx.google.com;
       dkim=pass header.i=@yjp header.s=default header.b="bZ5NL/z5";
       spf=pass (google.com: domain of  designates  as permitted sender) smtp.mailfrom=;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=
タイトルとURLをコピーしました