From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 06:33:38 2004 Return-Path: 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 7A0A316A4CE for ; Sat, 6 Mar 2004 06:33:38 -0800 (PST) Received: from out014.verizon.net (out014pub.verizon.net [206.46.170.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BB1D43D2F for ; Sat, 6 Mar 2004 06:33:38 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([68.161.120.219]) by out014.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040306143337.NYGH5247.out014.verizon.net@mac.com>; Sat, 6 Mar 2004 08:33:37 -0600 Message-ID: <4049E121.7050400@mac.com> Date: Sat, 06 Mar 2004 09:33:05 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Williams References: <5.2.1.1.0.20040305144621.02b93db8@pop.courtesymortgage.com> In-Reply-To: <5.2.1.1.0.20040305144621.02b93db8@pop.courtesymortgage.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out014.verizon.net from [68.161.120.219] at Sat, 6 Mar 2004 08:33:37 -0600 cc: freebsd-questions@freebsd.org Subject: Re: Questions regarding Sendmail on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 14:33:38 -0000 Jason Williams wrote: > I've been playing with Sendmail for a couple of weeks now and I feel > pretty comfortable with it. Lately, what i've done is just download the > source code for sendmail and build and compile as needed. It still works > fine. There's nothing wrong with that approach, although if you keep up-to-date with the FreeBSD sources, you're going to get something which resembles sendmail.org releases very closely. > However, I have some questions about how Sendmail comes setup default on > a FreeBSD system. For instance, there are quite a few directories and > locations of where sendmail items are located and im confused as to why > everything is where it is and why there are duplicate files. > > For instance: > > mail# find / -type d -name sendmail -print > /usr/libexec/sendmail This is the place where MTA-specific binaries go; see "man mailwrapper" for considerations about swapping in a different MTA like Postfix or qmail. > /usr/share/sendmail This is where the installed cf files are kept for a system that does not have sources. > /usr/src/contrib/sendmail > /usr/src/contrib/sendmail/include/sendmail These are where the real sources are kept. > /usr/src/etc/sendmail This is a template for /etc/mail which gets generated during the source build process. > /usr/src/share/sendmail Source code repositiory for the cf files mentioned above. > /usr/src/usr.sbin/sendmail This is a link to src/contrib/sendmail > I'm a bit confused on why everything is spread out the way it is and was > looking for some feedback to help me understand this more. > For instance, if I was to install a patch (lets say the patch if you > dont have 8.12.10) I would need to navigate to the source directory for > the default sendmail on FreeBSD...where is that directory? /usr/src/contrib/sendmail -- -Chuck