From owner-freebsd-bugs Fri Oct 25 7:10: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E39637B401 for ; Fri, 25 Oct 2002 07:10:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3782A43E65 for ; Fri, 25 Oct 2002 07:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9PEA3x3097001 for ; Fri, 25 Oct 2002 07:10:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9PEA3F8097000; Fri, 25 Oct 2002 07:10:03 -0700 (PDT) Date: Fri, 25 Oct 2002 07:10:03 -0700 (PDT) Message-Id: <200210251410.g9PEA3F8097000@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Giorgos Keramidas Subject: Re: bin/44256: /etc/mail/Makefile doesn't build submit.cf file Reply-To: Giorgos Keramidas Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/44256; it has been noted by GNATS. From: Giorgos Keramidas To: Matthew Emmerton Cc: bug-followup@freebsd.org Subject: Re: bin/44256: /etc/mail/Makefile doesn't build submit.cf file Date: Fri, 25 Oct 2002 04:53:34 +0300 (EEST) On 2002-10-23 16:30, Matthew Emmerton wrote: > My report is slightly inaccurate, as the makefile *will* create a > submit.cf, but it doesn't create it in the `hostname`.submit.cf > format that sendmail.cf is created in, and will not use a > `hostname`.submit.mc as a template if it exists. It does. At least, after setting the proper make.conf variables: SENDMAIL_MC SENDMAIL_SUBMIT_MC SENDMAIL_ADDITIONAL_MC A small change to /etc/mail/Makefile can make SENDMAIL_SUBMIT_MC default to `hostname`.submit.mc too, if that's what you are after: %%% --- Makefile.orig Fri Oct 25 04:49:43 2002 +++ Makefile Fri Oct 25 04:51:27 2002 @@ -69,7 +69,13 @@ cp freebsd.mc ${SENDMAIL_MC} .endif -SENDMAIL_SUBMIT_MC?= freebsd.submit.mc +.ifndef SENDMAIL_SUBMIT_MC +SENDMAIL_SUBMIT_MC!= hostname +SENDMAIL_SUBMIT_MC:= ${SENDMAIL_SUBMIT_MC}.submit.mc + +${SENDMAIL_SUBMIT_MC}: + cp freebsd.submit.mc ${SENDMAIL_SUBMIT_MC} +.endif INSTALL_CF= ${SENDMAIL_MC:R}.cf %%% Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message