From 2a1d418ce150a4b2fa00f4347ca2629d2c5e6042 Mon Sep 17 00:00:00 2001 From: Gregory Neil Shapiro Date: Thu, 20 Jun 2002 04:33:06 +0000 Subject: [PATCH] Add a warning regarding the SENDMAIL_*_MC make.conf variable values. Using /etc/mail/sendmail.mc will create /etc/mail/sendmail.cf during a buildworld. PR: misc/39397 MFC after: 3 days --- share/examples/etc/make.conf | 9 +++++++++ share/man/man5/make.conf.5 | 21 +++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index 95f62998a07..52bd09552d5 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -259,6 +259,9 @@ # install time. Use with caution as a make install will overwrite # any existing /etc/mail/sendmail.cf. Note that SENDMAIL_CF is now # deprecated. The value should be a fully qualified path name. +# Avoid using a value of /etc/mail/sendmail.mc as a buildworld will +# create /etc/mail/sendmail.cf before installworld installs an +# updated sendmail binary. # #SENDMAIL_MC=/etc/mail/myconfig.mc # @@ -266,11 +269,17 @@ # submission to use at install time. Use with caution as a make # install will overwrite any existing /etc/mail/submit.cf. The # value should be a fully qualified path name. +# Avoid using a value of /etc/mail/submit.mc as a buildworld will +# create /etc/mail/submit.cf before installworld installs an +# updated sendmail binary. # #SENDMAIL_SUBMIT_MC=/etc/mail/mysubmit.mc # # If you need to build additional .cf files during a make buildworld, # include the full paths to the .mc files in SENDMAIL_ADDITIONAL_MC. +# Avoid using a value of /etc/mail/sendmail.mc as a buildworld will +# create /etc/mail/sendmail.cf before installworld installs an +# updated sendmail binary. # #SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc # diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5 index 3af64dc1ef7..d6211d73685 100644 --- a/share/man/man5/make.conf.5 +++ b/share/man/man5/make.conf.5 @@ -507,6 +507,13 @@ Use with caution as a make install will overwrite any existing Note that .Va SENDMAIL_CF is now deprecated. +Avoid using a value of +.Pa /etc/mail/sendmail.mc +as a buildworld will create +.Pa /etc/mail/sendmail.cf +before installworld installs an updated +.Xr sendmail 8 +binary. .It Va SENDMAIL_SUBMIT_MC .Pq Vt str The default m4 configuration file for mail submission @@ -517,6 +524,13 @@ file, e.g., .Pa /etc/mail/mysubmit.mc . Use with caution as a make install will overwrite any existing .Pa /etc/mail/submit.cf . +Avoid using a value of +.Pa /etc/mail/submit.mc +as a buildworld will create +.Pa /etc/mail/submit.cf +before installworld installs an updated +.Xr sendmail 8 +binary. .It Va SENDMAIL_ADDITIONAL_MC .Pq Vt str Additional @@ -529,6 +543,13 @@ The value should include the full path to the file(s), e.g., .Pa /etc/mail/foo.mc .Pa /etc/mail/bar.mc . +Avoid using a value of +.Pa /etc/mail/sendmail.mc +as a buildworld will create +.Pa /etc/mail/sendmail.cf +before installworld installs an updated +.Xr sendmail 8 +binary. .It Va SENDMAIL_M4_FLAGS .Pq Vt str Flags passed to m4 when building a