[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[connect24h:6392] Re: DNS設定について



In message <20030904121327.EFB0.KOBA@xxxxxxxxxxxxxxx>
	on Thu, 04 Sep 2003 12:20:44 +0900,
	Kenji Kobayashi <koba@xxxxxxxxxxxxxxx> wrote:
> > Aレコードとして定義された mx1.example.co.jp は、DNS的には立派な正規名
> > ですが、そうでないとされる理由があるのでしょうか。
> 
> MTA的には正規名ではありません。
> (sendmailだとDmで指定される名称)
あー、なるほど。仰っている意味がわかりました。mx2.provider.ne.jpが
mx2.example.co.jpをMXのリストから削除できないということですね。

RFC2821の 5. Address Resolution and Mail Handling の最後のパラグラフに
は、

   If it determines that it should relay the message without rewriting
   the address, it MUST sort the MX records to determine candidates for
   delivery.  The records are first ordered by preference, with the
   lowest-numbered records being most preferred.  The relay host MUST
   then inspect the list for any of the names or addresses by which it
   might be known in mail transactions.  If a matching record is found,
   all records at that preference level and higher-numbered ones MUST be
   discarded from consideration.  If there are no records left at that

とあります。(MXレコードの)リストの名前やアドレスをすべて(any)調べるよ
うに、と書いてあるように読めます。というわけで、きちんと実装されたMTA
であれば、問題はないように思えます。

ただ、確かRFC974にはここまでは書いてなかったはずなので、古い実装やよく
考慮されていないMTAで問題となるケースはあるかもしれません。(古い実装で
も、よく考えているものはチェックしているでしょう。)

以上、実際のソースコードまで確認はしていません。


spam対策という別の側面もありますが、複数のMXを用意する場合は、じっくり
と考えて行わないといけないというのは、改めて思いますね。

-- 
神戸 隆博(かんべ たかひろ)		at 仕事場 


--[PR]------------------------------------------------------------------
【 FreeML ユーザー登録してますか?】
  ・メールアドレスとパスワードのカンタン登録!
  ・ニックネームもつけられるし、WEBメールも使える!
  ・MLだってカンタンに作れちゃう!
▼ いますぐ登録! => http://click.freeml.com/ad.php?id=934686
------------------------------------------------------------------[PR]--
<GMO GROUP> Global Media Online  www.gmo.jp