Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2006 13:57:03 +0200
From:      Frank Staals <frankstaals@gmx.net>
To:        =?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?= <wodfer@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Reinstalling Sendmail?
Message-ID:  <44E0650F.4040908@gmx.net>
In-Reply-To: <23ed14b80608131207m3546850agbadbe8e1d8a31002@mail.gmail.com>
References:  <23ed14b80608100433r63748457hf23763a6d42094aa@mail.gmail.com>	 <44DB1E39.8030402@gmx.net> <23ed14b80608131207m3546850agbadbe8e1d8a31002@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Widerĝe Andersen wrote:
> On 8/10/06, *Frank Staals* <frankstaals@gmx.net 
> <mailto:frankstaals@gmx.net>> 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 <HOSTNAME>.* files in /etc/mail. 
Then I removed the <HOSTNAME>.* files and when I recompiled sendmail 
made new configs ( run 'make all' in /etc/mail ). You can copy 
particular settings from your old <HOSTNAME>.mc file. This way you have 
a clean start :)

Good luck,

-- 
-Frank Staals





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44E0650F.4040908>