From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 17:03:50 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 F062737B401 for ; Fri, 4 Jul 2003 17:03:50 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38DEB43FBD for ; Fri, 4 Jul 2003 17:03:50 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h6503nTZ022764; Fri, 4 Jul 2003 19:03:49 -0500 (CDT) (envelope-from dan) Date: Fri, 4 Jul 2003 19:03:49 -0500 From: Dan Nelson To: Matthew Seaman , David Banning , questions@freebsd.org Message-ID: <20030705000349.GL24527@dan.emsphone.com> References: <20030704151957.GA14457@skytrackercanada.com> <20030704190458.GD69059@happy-idiot-talk.infracaninophile.co.uk> <20030704202848.GA19205@skytrackercanada.com> <20030704203835.GA8041@happy-idiot-talk.infracaninophile.co.uk> <20030704213813.GA21176@skytrackercanada.com> <20030704215215.GB17870@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030704215215.GB17870@happy-idiot-talk.infracaninophile.co.uk> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i Subject: Re: getting sendmail to add Return-Path: header 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: Sat, 05 Jul 2003 00:03:51 -0000 In the last episode (Jul 04), Matthew Seaman said: > On Fri, Jul 04, 2003 at 05:38:13PM -0400, David Banning wrote: > > Now it seems to be working. I inserted it in the "F" section of the > > settings below the one we discussed and it seems to work. > > > > > > Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/Hdr > > > > FromL, R=EnvToL/HdrToL, > > > > T=DNS/RFC822/X-Unix, > > > > A=procmail -Y -a $h -d $u > > > > Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/H... > > HERE----------------^ > > > > I am not sure what I did, or what the purpose of Mprog is. > > The prog mailer is generally for aliases that pipe mail into programs It also applies to pipes in .forward files, so if David has a "|procmail" entry in his .forward, that will force sendmail to use the prog mailer instead of local. FEATURE(local_procmail) in your .mc is a better solution, which will tell sendmail to use procmail as the local delivery agent, so you don't need .forward at all. -- Dan Nelson dnelson@allantgroup.com