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

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



On 2009-12-28 20:56:03 -0800, Steve Langasek wrote:
> On Tue, Dec 29, 2009 at 01:47:40AM +0100, Vincent Lefevre wrote:
> > > As for mail, we already appear to have an /etc/mailname file for MTAs and 
> > > MUAs to use for finding out the 'canonical' name of the host for message-
> > > IDs and the like.
> 
> > /etc/mailname doesn't seem to be specified by POSIX
> 
> Nope, it's specified in Debian policy (11.6).
> 
> > , so that I doubt that all mail software uses it in practice (Mutt doesn't
> > seem to use it...
> 
> That would be a bug, then.

Not all software is written for Debian. So, why?

Even if Debian has its own patches to match its policy, end users
are still allowed to compile software from upstream (this is what
I do for Mutt, because I have my own patches), and they expect
such software to work. So, if the admin of a Debian machine doesn't
configure a FQDN (so that the POSIX way to get it doesn't work)
just because there's a /etc/mailname already specifying the FQDN,
I won't be pleased.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


Reply to: