On Thu, 2008-02-14 at 10:18 -0500, Charlie Brady wrote:
> On Thu, 14 Feb 2008, Guy Hulbert wrote:
> 
> > On Thu, 2008-02-14 at 09:41 -0500, Chris Lewis wrote:
> >> Like Solaris usually does (grr), "hostname" returns the host node
> >> name
> >> (no dots), not the FQDN.
> >
> > This is correct behaviour.
> 
> Maybe *that* is, but is *this*?'

Didn't read that far.

If you need FQDN use 'hostname -f'.

> 
> > config/me contains the FQDN, but $self->qp->config("me") _still_ returns 
> > the node name.  I see the "sub config" code uses `hostname` as the 
> > default, but shouldn't it be seeing the config file itself regardless? 

I can't remember that.  I've read through the code several times to find
out and I'm tired of doing that.  If you have a standard qmail
installation, then the 'me' file will be found first.  It's the only
file required by qmail.

Looks as if changing `hostname` to `hostname -f` in the code would be
the correct fix.

> > Other file-based config works as you'd expect.
> 

-- 
--gh


Reply via email to