From owner-freebsd-questions Wed Jun 14 8:23:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id 3D48737C3A0 for ; Wed, 14 Jun 2000 08:23:24 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0698.cvx20-bradley.dialup.earthlink.net [209.179.252.188]) by merlin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id IAA12011; Wed, 14 Jun 2000 08:23:21 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id IAA00200; Wed, 14 Jun 2000 08:21:58 -0700 (PDT) Date: Wed, 14 Jun 2000 08:21:26 -0700 From: "Crist J. Clark" To: keith@mail.telestream.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: newaliases weirdness Message-ID: <20000614082126.A166@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000613231135.A465@dialin-client.earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from keith@mail.telestream.com on Wed, Jun 14, 2000 at 12:24:08AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jun 14, 2000 at 12:24:08AM -0700, keith@mail.telestream.com wrote: > Actualy I replied to my own posting with the solution. All I needed to do > was to run it from sendmail instead of newaliases and it worked fine. > sendmail -bi Which makes me suspect even more that your /usr/bin/newaliases is a bad link. It should be something like, lrwxr-xr-x 1 root wheel 21 Jun 3 19:28 /usr/bin/newaliases -> /usr/sbin/mailwrapper IIRC, in previous versions, it was a symlink to /usr/sbin/sendmail. If it were still that, things should be OK. However, if it were a _hard link_ to /usr/sbin/sendmail and it was not clobbered to be the above symlink, it could still be hiding the old version of sendmail. At least, that's my line of thought... > On Tue, 13 Jun 2000, Crist J. Clark wrote: > > On Sat, Jun 10, 2000 at 04:54:06PM -0700, keith@mail.telestream.com wrote: > > > Here is the version. And yes I did recently make world. That was in the > > > first mail when I said "After uping a system from 4.0-R to 4.0-S and > > > rebuilding the kernel and rebooting." > > > Any light you can shed on a solution would be nice. And better yet, some > > > advise on preventing the moronic method by which I screwed things up. :) > > > > > > 220 bsd.mcfarlandis.com ESMTP Sendmail 8.10.0/8.10.0; Sat, 10 Jun 2000 > > > > > > # uname -a > > > FreeBSD bsd.mcfarlandis.com 4.0-STABLE FreeBSD 4.0-STABLE #0: Fri Jun 2 > > > 07:10:38 GMT 2000 > > > root@mcfarlandis.telestream.com:/usr/src/sys/compile/mcfarlandis i386 > > > # > > > > > > Thanks for any advise. > > > > Is newaliases symbolically linked to mailwrapper? Is it perhaps still > > the old sendmail? > > > > > On Sat, 10 Jun 2000, Crist J. Clark wrote: > > > > On Sat, Jun 10, 2000 at 11:10:58AM -0700, keith@mail.telestream.com wrote: > > > > > After uping a system from 4.0-R to 4.0-S and rebuilding the kernel and > > > > > rebooting. All has run well. Once exception, newaliases is giving me this > > > > > error when I try to run it. > > > > > > > > > > /etc/mail/sendmail.cf: line 235: DaemonPortOptions parameter "Name=MTA" > > > > > unknown > > > > > /etc/mail/sendmail.cf: line 236: DaemonPortOptions parameter "Name=MSA" > > > > > unknown > > > > > /etc/mail/sendmail.cf: line 236: DaemonPortOptions parameter "M=E" unknown > > > > > Warning: .cf version level (9) exceeds sendmail version 8.9.3 > > > > > functionality (8) > > > > > > > > > > What on earth does this mean? Hope I don't have to rebuild sendmail > > > > > every time I upgrade the system. The sendmail version is 8.10 so the last > > > > > line realy confuses me. Here are the things I used in building my cf file. > > > > > > > > > > divert(0)dnl > > > > > VERSIONID(`@(#)generic-bsd4.4.mc 8.7 (Berkeley) 5/19/1998') > > > > > OSTYPE(bsd4.4)dnl > > > > > DOMAIN(mcfarlandis.com)dnl > > > > > MAILER(local)dnl > > > > > MAILER(smtp)dnl > > > > > FEATURE(`use_cw_file')dnl > > > > > FEATURE(`virtusertable', `hash -o /etc/mail/sendmail.domains.db')dnl > > > > > FEATURE(`access_db', `hash -o /etc/mail/sendmail.access.db')dnl > > > > > > > > Is rebuilding the kernel really all that you did? When did you last > > > > 'make world' and when was the last time you built the sendmail.cf > > > > file? You say that sendmail is 8.10.x, but it sure seems to think it > > > > is 8.9.3. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message