Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2012 10:51:36 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        freebsd-questions@freebsd.org, rg.lists@rzweb.com
Subject:   Re: Postfix + Courier IMAP local email problems
Message-ID:  <201204141551.q3EFpam0003984@mail.r-bonomi.com>
In-Reply-To: <3a1ed3098e19fe0e93c8f3e47dc4f01b@flabnapple2.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> Date: Fri, 13 Apr 2012 18:48:19 -0700
> From: Ron <rg.lists@rzweb.com>
> To: Robert Bonomi <bonomi@mail.r-bonomi.com>
> Subject: Re: Postfix + Courier IMAP local email problems
>
> On 12.04.2012 13:54, Robert Bonomi wrote:
> >>
> >> Is there some simple I'm just messing up?
> >
> > "Yes."   <grin>
> >
> > The difficulty comes in identifying _which_ "simple thing" it is that 
> > is
> > messed up.
>
> OK, I found the problem.  It was the hostname not being set correctly.  
> What threw me was that it was correct in the rc.conf file, but I did not 
> know you needed to reboot the machine to have it take effect.  It just 
> never occurred to me to run 'hostname' and see since I was seeing it 
> correctly in the rc.conf.

FYI, while it's true tht rc.conf is processed only t boot time, you don't
_have_ to reboot when you make a change.  What you _do_ need to do is run
the same commands the the rc processing does.  Unfortunately, with the 
'rc.d'-style process, where rc.conf just sets environment variables, and
everything else happens 'by magic', it can be a major effort to figure 
out -what- commands need to be run when you change something, and 'reboot'
*is* the simplest way to get the  job done.  One reason _I_ much prefer
the "old" BSD-style '/etc/rc.boot' and '/etc/rc.local' approch.  It was
=far= simpler to see exactly what was going on, in what order, and with
what params.  Tracking stuff through the rc.d/* swamp is a 'project' -- 
there is a whole nuther 'command language' to master.  :((





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204141551.q3EFpam0003984>