Humanity

Edit the world by your favorite way

Postfixで/etc/hostsのホスト名が引けない場合

追記

以下の記事は間違っているというか言葉足らずなので、正しい記事へのURLを書いておく。
smtp_host_lookup | Ari's Blog

本文

「disable_dns_lookups = yes」と/etc/postfix/main.cfに書くとlibcのリゾルバを使うようになるので/etc/nsswitch.confの設定が効いて/etc/hostsを見に行くようになってくれる。

[postfix-jp:03049] postfixにhostsを参照させることはできますか?
Postfixのぺーじ−Postfix Q and A