From owner-freebsd-questions@FreeBSD.ORG Tue Jul 24 14:16:28 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 5B076106566C for ; Tue, 24 Jul 2012 14:16:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 2A9608FC0A for ; Tue, 24 Jul 2012 14:16:28 +0000 (UTC) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 568D8A73AF8 for ; Tue, 24 Jul 2012 10:16:22 -0400 (EDT) Received: (qmail 21608 invoked from network); 24 Jul 2012 14:16:21 -0000 Received: by simscan 1.4.0 ppid: 16888, pid: 4391, t: 0.1663s scanners: clamav: 0.88.2/m:52/d:13513 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Jul 2012 14:16:21 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id C58A633C25; Tue, 24 Jul 2012 10:16:20 -0400 (EDT) From: Lowell Gilbert To: Darren Pilgrim References: <500DE961.2050908@bluerosetech.com> Date: Tue, 24 Jul 2012 10:16:20 -0400 In-Reply-To: <500DE961.2050908@bluerosetech.com> (Darren Pilgrim's message of "Mon, 23 Jul 2012 17:16:33 -0700") Message-ID: <44629dtfbf.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Removing sendmail from an installed system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 14:16:28 -0000 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.