From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 00:06:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02D7A1065670 for ; Wed, 13 Jan 2010 00:06:08 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 970978FC08 for ; Wed, 13 Jan 2010 00:06:07 +0000 (UTC) Received: from [10.47.0.250] (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0D064Fc027510; Tue, 12 Jan 2010 16:06:04 -0800 (PST) (envelope-from kline@thought.org) From: Gary Kline To: Jim In-Reply-To: <80f4f2b21001121511x53293ebhbdae69716d53aa39@mail.gmail.com> References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> <20100112202715.GA98769@thought.org> <80f4f2b21001121511x53293ebhbdae69716d53aa39@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Organization: Thought Unlimited Date: Tue, 12 Jan 2010 16:06:03 -0800 Message-ID: <1263341164.82235.25.camel@tao.thought.org> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,J_CHICKENPOX_42 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kline@thought.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 00:06:08 -0000 On Tue, 2010-01-12 at 18:11 -0500, Jim wrote: > > Yeah, that might work. I had troubles with aliases and the database > > and it didn't resolve itself until I ran newaliases. But newaliases is > > just a symlink to /usr/sbin/mailwrapper. It calls /etc/mail/mail.conf > > with newaliases which point to the *real* binary. That's where things > > disappear down the rabbit hole. > > > > Are you trying to run sendmail as postfix? > > > > I did install postgress, I didn't expect it to make any changes (I had > planned on potentially fiddling with it at some point, so I wanted it > in the jail template). > > I'm assuming it must have made modifications to my system replacing > sendmail with it? caution: i'm replying from evo which does not allow vi[m], so this may be [even more] disjointed than usual... yes, if you have installed anything over sendmail, the chances are that it made internal mods to various files that sendmail needs. i've used sendmail by-default since 2.0.5 and it was a serious challenge from SVR4 that i had used since about 1986. i've stuck with sendmail more out of an unwillingness to have to mess with something new. more-on-my-plate i don't need. prob'ly the same for 98% of the list. can you make copies of everything you have as-is now? as root #cd / ; # cp -rp /etc /etc.bak; and the rest of what you can find? this way, you'll at least be able to put things back the way they are at this moment if goinf ahead stalls. after you have back-up, rebuild your os and install sendmail from ports. /usr/mail/sendmail. there are some sendmail-related things in the ports tree you may want to look into now or later. at any rate, build the port and try a make -n install to see what the install would do without the "-n" ... see where things get stored. ---in face, that is one way of finding where sendmail has its files and directories now--- after you are satisfied that nothing serious will break finish the ports install with make install clean then reboot and test out the new port. i keep [[[ KEPT; past tense ]]] a huge file of IPs and hostnames in /etc/mail/access[.db] i still deny some sites that i can't discourage with spamblockers in the /etc/mail/access file. so, from time to time i keep .bak files/directories myself. hth. gary > > Thanks > -Jim Stapleton