From owner-freebsd-questions@FreeBSD.ORG Wed May 26 07:51:09 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 D85F516A4CE for ; Wed, 26 May 2004 07:51:09 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD61043D31 for ; Wed, 26 May 2004 07:51:07 -0700 (PDT) (envelope-from rpratt1950@earthlink.net) Received: from user37.net1586.fl.sprint-hsd.net ([69.69.238.37] helo=kt.weeble.com) by avocet.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1BSzjD-0003Iv-00; Wed, 26 May 2004 07:49:59 -0700 Date: Wed, 26 May 2004 10:50:42 -0400 From: Randy Pratt To: Jonathon McKitrick Message-Id: <20040526105042.6456d79b.rpratt1950@earthlink.net> In-Reply-To: <20040526122707.GB91911@dogma.freebsd-uk.eu.org> References: <20040524141558.GB48389@dogma.freebsd-uk.eu.org> <20040525143126.GB78314@dogma.freebsd-uk.eu.org> <20040526084314.GA11303@lb.tenfour> <20040526122707.GB91911@dogma.freebsd-uk.eu.org> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.org Subject: Re: Repeated connections to port 25 with firewall 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: Wed, 26 May 2004 14:51:10 -0000 On Wed, 26 May 2004 13:27:07 +0100 Jonathon McKitrick wrote: > : When local processes want to mail, they fork n exec a sendmail binary > : themselves. > : > : You shouldn't need a sendmail server running for that. > > Here is what I have/had in rc.conf > > #sendmail_enable="no" > #sendmail_submit_enable="no" > #sendmail_outbound_enable="no" > #sendmail_msp_queue_enable="no" > > And as soon as I restarted after commenting out these lines, root's mailbox > got filled with megs of mail from cron. I want the minimum I need to get > system mail without leaving an instance of sendmail vulnerable to attack or > eating up resources. This archive post may help you: http://docs.freebsd.org/cgi/mid.cgi?20031220102637.GB6942 Another document that may be of interest is /etc/mail/README > p.s. What mail reader is good for root mail? Is there anything better at > managing system mail than mutt? You can use any mail client. You can also read root's mail as any user by adding an entry to /etc/aliases, for example: # Pretty much everything else in this file points to "root", so # you would do well in either reading root's mailbox or forwarding # root's email from here. # root: me@my.domain root: joeuser All the mail that would have went to root will be forwarded to "joeuser". HTH, Randy --