Subject: Re: sendmail install from build.sh - no submit.cf
To: George Michaelson <ggm@apnic.net>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 03/31/2003 10:30:12
>I did (cd /usr/src; ./build.sh -E build) and have a foonly fine system of
>current, but I notice that my sendmail borked at boot, complaining that the
>/etc/mail/sendmail.cf was for v9.

did you try /etc/postinstall after you were done building?  that
always helps a lot.

>so I did manual stuff to upgrade (cd /usr/src/gnu/usr.sbin/sendmail/cf/cf;
>make && make install) and it writes to /usr/share/sendmail, not /etc/mail/

that's correct behavior.  a "make install" will not install files into
/etc, since that has a high probability of overwriting files you are
expected to be able to modify freely.

have you modified your /etc/mail/sendmail.cf file at all, or did you
simply use the one that was originally installed?

>hmm. Have I somehow missed a step in a critical bugfix/patch upgrade which
>created the submit.mc and cf from the netbsd-msp.mc?

well...you've found the step.  i suppose you didn't find anything
telling you want to do next though.  where did you look?

there are two sample submit.cf type files in /usr/share/sendmail/cf:
submit.cf and netbsd-msp.cf.  if you don't see them there, cd to that
directory and make them (ie type "make submit.cf" or "make
netbsd-msp.cf").  copy one to /etc/mail/submit.cf.

>etcupdate didn't complain either.

hmm...never tried that.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."