From owner-freebsd-questions@FreeBSD.ORG Tue Oct 27 17:43:45 2009 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 05629106566C for ; Tue, 27 Oct 2009 17:43:45 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id AE3048FC13 for ; Tue, 27 Oct 2009 17:43:44 +0000 (UTC) Received: by qyk6 with SMTP id 6so225501qyk.3 for ; Tue, 27 Oct 2009 10:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=97WdmRXdcq3q9NHvXAVFzZgqIwFRIFAiFZym7k7PNa4=; b=toXd4kABfNf3I8ZOCwkhAHNtSy5BW8A8Zka7vdHqd1OAodZgjQix7pEaF1pM5CArsc jcZvdybBfvywgyWrCQ4Py46nAGckf0ox5XAHKQSLCfJfz17WMJnvUqE2IekClXyRDjA/ LDaZtLLREpbWm2r7vqIKdIZ3nb6Fg9fxvjGfg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=kvCDrBarRYZXewv5r+TDB7PPUq7IUVj50YkJDeSqs5tc9yTzyBMDs+cvxXOBTt0KIr aaugqsTj5CWGobu5WGbUE2CicnpQ20/LEjHJU8O1e0TbJDEQ++5VL/7qMsUd3nduvGso VKGV1rO1eLHZ4BBPwiTw7u6HVkpL7rLZqtZEc= Received: by 10.220.122.90 with SMTP id k26mr7068363vcr.9.1256665423947; Tue, 27 Oct 2009 10:43:43 -0700 (PDT) Received: from ?192.168.1.100? ([190.177.192.217]) by mx.google.com with ESMTPS id 4sm63833ywi.57.2009.10.27.10.43.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Oct 2009 10:43:43 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Tue, 27 Oct 2009 15:43:39 -0200 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910271543.39876.gnemmi@gmail.com> Subject: Re: Why is sendmail is part of the system and not a package? 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: Tue, 27 Oct 2009 17:43:45 -0000 On Tuesday 27 October 2009 7:32:14 am b. f. wrote: > >It's in /usr/sbin/sendmail. > > > >How many people actually use it? Very few. > >Why isn't it moved to ports? > > Obviously, not everyone wants or needs sendmail in the base system. > But quite a few people do use it, and many FreeBSD developers are > happy with the status quo, so it is unlikely that sendmail will be > removed soon. But there's nothing to prevent you from disabling it > in rc.conf(5): Or from switching to other BSDs in which the last word over an issue stands in the hands of reason .. and not in the hands of status quo ... which, by the way, never took any science a single step forwar, and on the contrary ... did everything it could to stop it ... because otherwise, there would be no status quo anymore or it will fall in the hands of others. > sendmail_enable="NONE" > > and replacing it's administrative use with local logs in > periodic.conf(5), by adding, for example: > > daily_output="/var/log/daily.log" > daily_clean_hoststat_enable="NO" > daily_status_mailq_enable="NO" > daily_status_include_submit_mailq="NO" > daily_status_mail_rejects_enable="NO" > daily_queuerun_enable="NO" > daily_submit_queuerun="NO" > daily_status_security_output="/var/log/daily.log" > weekly_output="/var/log/weekly.log" > monthly_output="/var/log/monthly.log" > > . (Or you can use another MTA instead.) You can also go one step > farther: if you have the system sources available, you can rip > sendmail out of the base system and avoid building and installing it > again by using either > > WITHOUT_SENDMAIL=yes > > or > > WITHOUT_MAIL=yes > > in src.conf(5), then running 'make delete-old' and 'make > delete-old-libs' in /usr/src, and finally removing any leftover > associated files by hand. (find(1) can be used with the appropriate > flags to check for stale files or empty directories in the base > system directories immediately after a fresh install in order to help > locate such leftover files. A warning: use of the more drastic > WITHOUT_MAIL option can remove /usr/bin/fmt, which is used > unconditionally by some src targets. So you may need to install fmt > by hand, or patch the src Makefiles so that fmt isn't used.) All > this doesn't take very long, and doesn't need to be done all that > often on an existing system, so the presence of sendmail in the base > system shouldn't worry you too much, even if you don't want to use it > on your system(s). > > b. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Best Regards Gonzalo Nemmi