From owner-freebsd-questions@FreeBSD.ORG Fri Jan 16 08:29: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 971F716A4CE for ; Fri, 16 Jan 2004 08:29:53 -0800 (PST) Received: from mail1.marathonmultimedia.com (mail1.marathonmultimedia.com [12.47.35.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 367D743D5A for ; Fri, 16 Jan 2004 08:29:52 -0800 (PST) (envelope-from joelg@mail1.marathonmultimedia.com) Received: from mail1.marathonmultimedia.com (localhost [127.0.0.1]) i0GGTnco002106; Fri, 16 Jan 2004 10:29:49 -0600 (CST) (envelope-from joelg@mail1.marathonmultimedia.com) Received: (from joelg@localhost)i0GGTmfc002105; Fri, 16 Jan 2004 10:29:48 -0600 (CST) (envelope-from joelg) Date: Fri, 16 Jan 2004 10:29:48 -0600 From: Joel Gudknecht To: Andrew Boothman Message-ID: <20040116162948.GA2097@mail1.marathonmultimedia.com> References: <20040116152533.GA2014@mail1.marathonmultimedia.com> <400806DC.1070109@cream.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <400806DC.1070109@cream.org> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Switch MTA -> Postfix 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, 16 Jan 2004 16:29:53 -0000 On Fri, Jan 16, 2004 at 03:44:28PM +0000, Andrew Boothman wrote: > Joel Gudknecht wrote: > >Do the daily/weekly/monthly scripts need a lot of tweaking to still > >mail reports to root after switching from sendmail to postfix? > > > >Are the changes necessary documented anywhere? > > Changing your MTA is documented on > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html I've changed the MTA to postfix just fine. > If you're talking about making sure that the normal periodic script > reports are emailed back to you: those scripts simply use > /usr/sbin/sendmail, which is a mailwrapper(8) which should always point > to your actual sendmail binary. The scripts themselves don't need any > changes for you to continue to recieve their results. If I follow the advice from /usr/ports/mail/postfix/pkg-message which states: ----------------------------------------------------------------------- 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" -------------------------- The reports stop completely. > However, some items in those scripts are no longer needed if you move > away from sendmail(tm). These are documented in > /usr/ports/mail/postfix/pkg-message. Before I did this I didn't have a periodic.conf at all, relying on the scripts, which generated these errors: Jan 16 03:01:01 postfix postfix/sendmail[2177]: fatal: unsupported: -bh Jan 16 03:01:02 postfix postfix/sendmail[2178]: fatal: unsupported: -bH Any thoughts?