0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

さくらのレンタルサーバーのメール設定で 550 5.7.1 Relaying denied. が発生

Posted at

問題概要

さくらのレンタルサーバーをメールサーバーにして MX レコードを設定した後、メールをそのドメイン向けに送信すると 550 5.7.1 Relaying denied. Proper authentication required. が発生した。 ドメインレコードを手動で設定したために何か問題が起こったのかとも考えたが、解決してみるとそれに依らない単なる設定の問題だったのでメモ。

調査と原因

今回は独自ドメイン example.com を追加して利用しているものとする。
ユーザー test がある場合、 test@[さくらから割り当てられるホスト名] へのメール送信は正常に届くが、test@example.com にメールを送信した場合のみ失敗する。 またエラーメッセージを返すのも MX で指定したさくらのレンサバだったので、レコードが間違えているというわけではなさそう。

すると、気になるのは個別に設定できるドメイン設定だったので、そこを見てみた。
そこにはドメイン毎に「メールを利用する」という設定があり、これが「利用しない」という状態で設定されていた。 この場合に 550 5.7.1 Relaying denied. Proper authentication required. のメッセージが返ってしまうようだ。

実際、これを「全ユーザーで利用する」とした後は正常にメールを受信するようになった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?