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

Re: where is /etc/hosts supposed to come from?

On Wed, Dec 30, 2009 at 02:36:12AM +0100, Vincent Lefevre wrote:

> BTW, Debian defines /etc/mailname as containing the FQDN. So,
> this notion is explicitly defined on Debian, and one should
> expect "hostname -f" to return the same name (according to its
> documentation).

What makes you think that /etc/mailname should have any resemblance to
the host name? Did you never administer a host that used a dedicated IP
address for sending/receiving mail, and did any other communication on
different addresses? Leaking the real host name in such a situation can
be considered a serious security issue...


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

Reply to: