From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 08:54:08 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 31D7516A4CE for ; Fri, 23 Apr 2004 08:54:08 -0700 (PDT) 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 EAA0643D45 for ; Fri, 23 Apr 2004 08:54:07 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id E18D569A71; Fri, 23 Apr 2004 11:54:06 -0400 (EDT) Message-ID: <40893B80.3040304@potentialtech.com> Date: Fri, 23 Apr 2004 11:51:28 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Danny References: <20040423145250.M47348@eagleroaming.com> In-Reply-To: <20040423145250.M47348@eagleroaming.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: 4.9R changing MTA to Postfix - no periodic.conf 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: Fri, 23 Apr 2004 15:54:08 -0000 Danny wrote: > Greetings, > > So I have installed Postfix from the ports, read the pkg-message, read the > changing the MTA in the handbook, and did a bit of searching. > > So after the switch, I obviously get: > > Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh > Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH > > Because I did not: > > "Also, you will want to disable some Sendmail-specific daily maintenance > routines in your /etc/periodic.conf file: > > daily_clean_hoststat_enable="NO" > daily_status_mail_rejects_enable="NO" > daily_status_include_submit_mailq="NO" > daily_submit_queuerun="NO"" > > However, I do not have a periodic.conf. How is the periodic running without a > config file? > > Could someone please show me there periodic.conf file and why they chose the > options they did, or maybe baseline. /etc/defaults/periodic.conf has all the default values for periodic. You should _NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf overrides those defaults. You can, however, use /etc/defaults/periodic.conf as a reference to see what values are available and what their default values are. Simply create a new file called /etc/periodic.conf and put the configuration options shown above in it. Anything not in /etc/periodic.conf will be set from /etc/defaults/periodic.conf. (Copying /etc/defaults/periodic.conf to /etc/periodic.conf is NOT a good idea, as it defeats the purpose of the default file. FYI, a lot of things are handled in this manner, look at /etc/defaults/rc.conf for another example) -- Bill Moran Potential Technologies http://www.potentialtech.com