From owner-freebsd-questions@FreeBSD.ORG Fri Jun 22 19:29:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26B0E1065672 for ; Fri, 22 Jun 2012 19:29:46 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from nk11p00mm-asmtp010.mac.com (nk11p00mm-asmtp010.mac.com [17.158.161.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0A9048FC1C for ; Fri, 22 Jun 2012 19:29:46 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com (unknown [17.209.4.71]) by nk11p00mm-asmtp010.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0M6100FA57DFRJ80@nk11p00mm-asmtp010.mac.com> for freebsd-questions@freebsd.org; Fri, 22 Jun 2012 18:29:40 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.260,0.0.0000 definitions=2012-06-22_04:2012-06-22, 2012-06-22, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1206220204 From: Chuck Swiger In-reply-to: Date: Fri, 22 Jun 2012 11:29:39 -0700 Message-id: <0035DF17-28B9-4A94-B75A-F483926B2A9E@mac.com> References: To: Walter Hurry X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail and Postfix 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: Fri, 22 Jun 2012 19:29:46 -0000 Hi-- On Jun 22, 2012, at 11:19 AM, Walter Hurry wrote: > A little digging around has revealed that there are two 'mailq' > executables on my system: /usr/local/bin/mailq and /usr/bin/mailq. > > The first is part of the mail/postfix-current port which I have installed > and use, and the second is presumably part of Sendmail, which I have not > installed and do not use. > > It seems that Sendmail is embedded somehow in the base system. What is > the 'approved' way to get rid of /usr/bin/mailq? Or better, remove > Sendmail? BSD Unixes have shipped with Sendmail for decades, much as BIND is also included-- so yes, Sendmail is included with the base system by default. The approved way is to simply leave things be. Properly written software will honor the links setup by mailwrapper(8) and use the Postfix MTA which you installed instead: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html If you really want to remove sendmail entirely, you can rebuild FreeBSD with NO_SENDMAIL=TRUE ...set in /etc/make.conf, which will avoid building sendmail at all. Regards, -- -Chuck