From owner-freebsd-questions@FreeBSD.ORG Fri May 16 00:29:53 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 EA7D937B404 for ; Fri, 16 May 2003 00:29:53 -0700 (PDT) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BFEE43FB1 for ; Fri, 16 May 2003 00:29:52 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242])h4G7TowP004213; Fri, 16 May 2003 17:29:50 +1000 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.1])h4G7TnYm079201; Fri, 16 May 2003 17:29:49 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Fri, 16 May 2003 17:29:49 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: Antoine Jacoutot In-Reply-To: <200305160859.02525.ajacoutot@lphp.org> Message-ID: <20030516172543.G77647-100000@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org Subject: Re: local.mail, please need some help 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 May 2003 07:29:54 -0000 On Fri, 16 May 2003, Antoine Jacoutot wrote: > I've been looking for hours how to change local mailer flags. > I use sendmail, and I would like that local.mail doesn't try to contact the > comsat service. The switch for it is "-B" (from the man page). > Now, I tried everything in my sendmail.cf, and nothing works. > The last thing I tried was: > MODIFY_MAILER_FLAGS(`LOCAL', `+B')dnl First off, cd into /etc/mail and type "make all". This will generate a $HOSTNAME.mc file. Next, add: define(`LOCAL_MAILER_ARGS', `mail.local -l -B -b') To the end of this file, then type "make all" again. This will generate a $HOSTNAME.cf file. Copy this file to sendmail.cf and type "make restart". -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/