Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2000 18:58:19 +0100
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        "'stable@freebsd.org'" <stable@freebsd.org>
Subject:   Re: big trouble - sendmail in todays stable NOT reading sendmail. cw
Message-ID:  <20001102185819.T25237@speedy.gsinet>
In-Reply-To: <8E67E032AD23D4118F740050042F21F76B@lant.mbp.ee>; from mauri@aripaev.ee on Thu, Nov 02, 2000 at 09:11:08AM %2B0200
References:  <8E67E032AD23D4118F740050042F21F76B@lant.mbp.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 02, 2000 at 09:11 +0200, Lauri Laupmaa wrote:
> > I'm behind in updating UPDATING.  I should be 
> 
> Hmm, nice... after some thinking I found out that it would be
> very cool if mergemaster could fix it transparently... i.e. if
> exists /etc/mail/sendmail.cw then mv sendmail.cw
> local-host-names

Well, you have an idea and you have the source.  Provide a patch
and the solution is closer. :)

But I think /etc/rc would be a better place (just like the
nsswitch change and creating ssh keys when still absent before
enabled services start.  And it shouldn't damage an existing
local-host-names file, but append the .cw content.  Like

  CWFILE=/etc/mail/sendmail.cw
  NEWFILE=/etc/mail/local-host-names
  if [ -f $CWFILE ]; then
    cat $CWFILE >> $NEWFILE && rm $CWFILE
    chmod 644 $NEWFILE   # needed?
  fi

short before starting sendmail (if enabled).


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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