Subject: Re: Sendmail config files won't get updated
To: Peter. Bex <Peter.Bex@student.kun.nl>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 03/31/2003 17:05:51
>After doing postinstall and etcupdates and fixing as much as I could, I can't
>get rid of this:
>
>-After an etcupdate-
>------------------------
>postinstall checks failed: sendmail
>To fix, run:
> /etc/postinstall -s /usr/src -d / fix sendmail
>*** All done
>frohike: {2} /etc/postinstall -s /usr/src -d / fix sendmail
>Source directory: /usr/src
>Target directory: /
>sendmail fix:
> Version of /etc/mail/sendmail.cf is 9, should be 10 [NOT FIXED]
> Submission configuration file /etc/mail/submit.cf missing [NOT FIXED]
>postinstall fixes passed:
>postinstall fixes failed: sendmail
>------------------------
>
>I've already added the user and group smmsp with etcupdate, but it doesn't
>change sendmail.cf or add submit.cf. I can't find default copies of the
>mentioned files in /usr/dist/etc or /usr/dist/etc/etc.i386 either. (I did
>a build.sh -D /usr/dist)
what was the full command that you typed? "build.sh -D /usr/dist" by
itself merely emits a usage message.
build.sh: Missing operation to perform.
Usage: build.sh [-EnorUu] [-a arch] [-B buildid] [-D dest] [-j njob] [-M obj]
[-m mach] [-O obj] [-R release] [-T tools] [-V var=[value]]
[-w wrapper] operation [...]
Build operations (all imply "obj" and "tools"):
build Run "make build"
distribution Run "make distribution" (includes DESTDIR/etc/ files)
release Run "make release" (includes kernels & distrib media)
if you didn't do a "distribution" or "release", then (as noted above),
the /etc/ files will not have been installed. if you did, take a look
in /usr/dist/etc/mail. you should see them there.
>How can I fix this manually? Just out of curiosity: How are these files
>generated on a new system if they're not in a directory?
the /usr/share/sendmail/cf directory should contain netbsd-msp.mc and
a submit.mc file, either of which can be used to generate a perfectly
good submit.cf file. personally, i recommend the former.
--
|-----< "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."