From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 18:53:53 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 CE8AA16A4CE for ; Wed, 29 Sep 2004 18:53:53 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AFDB43D3F for ; Wed, 29 Sep 2004 18:53:53 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id 799DA69A39; Wed, 29 Sep 2004 14:53:52 -0400 (EDT) Date: Wed, 29 Sep 2004 14:53:51 -0400 From: Bill Moran To: Ronj_clark@yahoo.com Message-Id: <20040929145351.28b8af1e.wmoran@potentialtech.com> In-Reply-To: <20040929183642.76738.qmail@web52504.mail.yahoo.com> References: <20040929132215.56551a88.wmoran@potentialtech.com> <20040929183642.76738.qmail@web52504.mail.yahoo.com> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: ronj_clark@yahoo.com cc: freebsd-questions@freebsd.org Subject: Re: sendmail question 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, 29 Sep 2004 18:53:54 -0000 Ronnie Clark wrote: > Bill, > > Thanks for the response. Here is the last entry in the > maillog file: > > Sep 29 03:01:48 src@rc_gcux sendmail[1204]: > i8T81lo5001204: to=root, delay=00:00:00, > xdelay=00:00:00, mailer=relay, pri=31632, > relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: > Connection refused by [127.0.0.1] > > This makes sense that the log says what it does since > I have sendmail_enable="NONE". What I am asking is if > there is a way to not have this file at all since > there is no need to send amy mail of any kind from > this server. Make sense? Not really. A lot of stuff in FreeBSD uses email for notifications and the like. A few examples are cron (which will email the output of cron jobs) and periodic. If you want to disable _all_ mail delivery, you'll need to track down all of these utilities and either a) prevent them from running or b) arrange for notifications from them to be sent via some other means. I don't know that a comprehensive list of these applications has ever been compiled, but I think disabling them and mail delivery is A Bad Idea (tm) because you're pretending your smarter than 30 years of Unix system administrators' combined experience. The Right Thing To Do (tm) is to set sendmail_enable="NONE" (or replace sendmail with ssmtp) and configure the "root" account to forward to your email account so you can properly receive these informative emails. If you're not familiar with sendmail or uncomfortable with it doing anything, check out the handbook page on replacing it with ssmtp: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html HTH. > --- Bill Moran wrote: > > > Ronnie Clark wrote: > > > > > Hello all, > > > > > > I am building a central syslog server. I am seeing > > > sendmail related items in the maillog file, even > > > though I have sendmail_enable="NONE" in my > > > /etc/rc.conf file. Is there a way to turn off any > > > resemblance of an MTA on a FreeBSD system? Or, is > > > there a way to turn on a localhost MTA but not > > have it > > > actively listen on a port? (in this case tcp 587) > > > > sendmail_enable="NONE" should disable it totally. > > > > sendmail_enable="NO" should allow local submission > > only. > > > > You could also install something like ssmtp to > > replace sendmail. > > > > What kind of log messages are you getting? > > > > -- > > Bill Moran > > Potential Technologies > > http://www.potentialtech.com > > > > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com > _______________________________________________ > 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" -- Bill Moran Potential Technologies http://www.potentialtech.com