From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 06:10:48 2003 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 16E3C16A4CE for ; Wed, 29 Oct 2003 06:10:48 -0800 (PST) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BFD943F75 for ; Wed, 29 Oct 2003 06:10:47 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id DF48A3AB7; Wed, 29 Oct 2003 09:10:46 -0500 (EST) Sender: lowell@be-well.ilk.org To: whizkid@ValueDJ.com References: <18618.208.253.246.93.1067371598.squirrel@ns1.valuedj.com> <44fzhd2k2i.fsf@be-well.ilk.org> <11035.208.253.246.93.1067374244.squirrel@ns1.valuedj.com> From: Lowell Gilbert Date: 29 Oct 2003 09:10:46 -0500 In-Reply-To: <11035.208.253.246.93.1067374244.squirrel@ns1.valuedj.com> Message-ID: <44smlc3zix.fsf@be-well.ilk.org> Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org cc: whizkid@valuedj.com Subject: Re: PostFix error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 29 Oct 2003 14:10:48 -0000 X-List-Received-Date: Wed, 29 Oct 2003 14:10:48 -0000 whizkid@ValueDJ.com writes: > > You forgot to disable the log generation in the daily periodic(8) > > script. There are some other daily operations you should probably > > disable, too. Try: > > daily_clean_hoststat_enable="NO" > > daily_status_mail_rejects_enable="NO" > > daily_status_include_submit_mailq="NO" > > daily_submit_queuerun="NO" > > [in periodic.conf(5), of course] > > I see a periodic folder off of /etc but no periodic.conf file. Should I > just create one with the above settings? Also it seems that there are > only 2 errors, not 4. man periodic.conf > Ahhh I see the error now.... In the periodic folder, under daily there is > a script called 150.clean-hoststat > > this file contains the following lines: > > if [ -z "$(sendmail -bh 2>&1)" ]; then > rc=2 > else > echo "" > echo "Removing stale entries from sendmail host status cache:" > rc=0 > sendmail -bH || rc=1 > > this is the source of the bh errors. I will disable this command and see > if I get any more errors. Thanks for pointing me in the right direction. > Is there a way to do this is PostFix or is this done automatically? The correct way to do this is with the configuration lines I gave in the previous message. The one causing the error you see in the log is the first of those configuration lines. Modifying the periodic scripts directly will work too, but you'll need to keep merging your changes as you update the system, so it's a less recommended approach.