From owner-freebsd-questions Mon Mar 10 10:34:59 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97D8D37B401 for ; Mon, 10 Mar 2003 10:34:57 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75D1743FA3 for ; Mon, 10 Mar 2003 10:34:55 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a221.otenet.gr [212.205.215.221]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h2AIYnNJ024115; Mon, 10 Mar 2003 20:34:52 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h2AIYnTf004724; Mon, 10 Mar 2003 20:34:49 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h2AIYn5f004723; Mon, 10 Mar 2003 20:34:49 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 10 Mar 2003 20:34:49 +0200 From: Giorgos Keramidas To: IAccounts Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail config file Message-ID: <20030310183449.GA4683@gothmog.gr> References: <20030310172000.GA1461@gothmog.gr> <20030310123541.W31451-100000@diana.northnetworks.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030310123541.W31451-100000@diana.northnetworks.ca> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-03-10 12:45, IAccounts wrote: > > > > > # install -c -m freebsd.cf /etc/mail/sendmail.cf > > > > > Install: Invalid file mode: freebsd.cf > > > > > Has anyone else experienced this during their sendmail upgrade? > > > > > > > > Does the file /usr/share/mk/bsd.own.mk exist? > > > > > > > > If yes, does it contain a definition of SHAREMODE? > > > > > > > > % grep SHAREMODE /usr/share/mk/bsd.own.mk > > > > # SHAREMODE ASCII text file mode. [${NOBINMODE}] > > > > SHAREMODE?= ${NOBINMODE} > > > > > > It certainly does. The entry is laid out exactly as you have it above. > > > The Makefile appears to be a binary, for reasons unknown to me, but that > > > is besides the point. Can I just copy a new makefile over from a different > > > box, or am I headed in the wrong direction with this? > > > > Have you upgraded recently? Did you run mergemaster after installworld? > > > > What is the output of the following command? > > > > $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile > > Sorry, the output is 'Binary files differ'. The /etc/mail Makefile is > binary, the former is not. > > The copy of the new Makefile did not work, It states that it 'Do not know > how to make freebsd.submit.cf'. By driving through mergemaster, I can see > that I will destroy what is working of sendmail :o) > > Is there any reason that I can't stay with the old config files? I can't > afford to break sendmail at this time. If it is not a security risk to > remain with old config files against the newest binary, I will just leave > it sit for now until I can dig up more info. It depends on what the old version of Sendmail was. What do you get when you telnet to port 25? : giorgos@gothmog[20:33]/home/giorgos$ telnet 0 25 : Trying 0.0.0.0... : Connected to 0. : Escape character is '^]'. : 220 gothmog.gr ESMTP Sendmail 8.12.8/8.12.8; Mon, 10 Mar 2003 20:33:46 +0200 (EET) : quit : 221 2.0.0 gothmog.gr closing connection : Connection closed by foreign host. : giorgos@gothmog[20:33]/home/giorgos$ The two version numbers after "ESMTP Sendmail" above are, in order, the version of the Sendmail executable and the version of the sendmail.cf file. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message