From owner-freebsd-questions@FreeBSD.ORG Mon Aug 14 11:57:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0E3F316A4DA for ; Mon, 14 Aug 2006 11:57:01 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3E61443D49 for ; Mon, 14 Aug 2006 11:57:00 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 14 Aug 2006 11:56:58 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO [192.168.5.2]) [62.59.173.176] by mail.gmx.net (mp039) with SMTP; 14 Aug 2006 13:56:58 +0200 X-Authenticated: #25365336 Message-ID: <44E0650F.4040908@gmx.net> Date: Mon, 14 Aug 2006 13:57:03 +0200 From: Frank Staals User-Agent: Thunderbird 1.5.0.4 (X11/20060706) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?= References: <23ed14b80608100433r63748457hf23763a6d42094aa@mail.gmail.com> <44DB1E39.8030402@gmx.net> <23ed14b80608131207m3546850agbadbe8e1d8a31002@mail.gmail.com> In-Reply-To: <23ed14b80608131207m3546850agbadbe8e1d8a31002@mail.gmail.com> X-Y-GMX-Trusted: 0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Reinstalling Sendmail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 11:57:01 -0000 Andreas Widerĝe Andersen wrote: > On 8/10/06, *Frank Staals* > wrote: > > You can recompile sendmail, you'll have to have the kernel sources > installed though: > > # cd /usr/src/lib/libsm; make clean; make obj; make depend; make > # cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make > # cd /usr/src/usr.sbin/sendmail; make clean; make obj; make > depend; make; make install > > you might want to read Jonathan Horne's page about configuring > sendmail ( among other services ) : > http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services > > > Thanks! > Nice tutorial. > > I have dowloaded all sources from cvs to my system. Should I delete > some old sources/working dirs/etc from when I've installed software > before or from when I built world and kernel? > > I guess they're under /usr/src somewhere. > > Just worried about some old files with wrong config that might screw > this up. > > Thanks, > Andreas The only things comming to mind are cleaning /usr/src/obj and ( at least that is what I did ) backupping your .* files in /etc/mail. Then I removed the .* files and when I recompiled sendmail made new configs ( run 'make all' in /etc/mail ). You can copy particular settings from your old .mc file. This way you have a clean start :) Good luck, -- -Frank Staals