From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 11:29:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D3651065672 for ; Wed, 25 Jul 2012 11:29:12 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 692438FC12 for ; Wed, 25 Jul 2012 11:29:12 +0000 (UTC) Received: from [10.0.10.3] ([173.88.199.104]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 25 Jul 2012 04:29:07 -0700 Message-ID: <500FD87C.30305@a1poweruser.com> Date: Wed, 25 Jul 2012 07:29:00 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions References: <500DE961.2050908@bluerosetech.com> <44629dtfbf.fsf@be-well.ilk.org> In-Reply-To: <44629dtfbf.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jul 2012 11:29:08.0063 (UTC) FILETIME=[B471B6F0:01CD6A58] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Subject: Re: Removing sendmail from an installed system 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: Wed, 25 Jul 2012 11:29:12 -0000 Lowell Gilbert wrote: > Darren Pilgrim writes: > >> I'm removing sendmail entirely from an installed system. I had >> WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but >> that left an old version of sendmail rotting away on disk. This is >> the list I have so far: >> >> /etc/mail/* (excluding mailer.conf) >> /etc/rc.d/sendmail >> /usr/bin/vacation >> /usr/libexec/mail.local >> /usr/libexec/sendmail >> /usr/libexec/smrsh >> /usr/sbin/editmap >> /usr/sbin/mailstats >> /usr/sbin/makemap >> /usr/sbin/praliases >> /usr/share/sendmail >> /var/spool/clientmqueue >> /var/spool/mqueue >> >> Is this list complete? I'm intentionally leaving the stuff for >> mailwrapper. I'm ok with leaving /etc/rc.d/sendmail behind as well, >> but it looks like it's not needed by anything (i.e., nothing requires >> "mail"). > > "make delete-old"; see the section "Deleting obsolete files, directories > and libraries" in the handbook. > >> Even though I have WITHOUT_SENDMAIL specified and the world was built >> with that, mergemaster still installs /etc/mail/aliases and >> /etc/rc.d/sendmail. Is there a way to prevent this other than adding >> them to IGNORE_FILES in mergemasterrc? > > There are other ways, but that's the first one I would think of. Note > that neither of these files can be harmful, and might (especially > aliases) be used by other MTA. > I have same question but from different view point. In my situation I find it easier to install from scratch to empty disk using .iso file when moving to an newer version of freebsd. Sendmail is included as part of the base system. What is best method to totally remove sendmail including the /var/log/sendmail.st file from rotating?