From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 13:28:54 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 9F95337B401 for ; Fri, 4 Jul 2003 13:28:54 -0700 (PDT) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CE2743FEC for ; Fri, 4 Jul 2003 13:28:53 -0700 (PDT) (envelope-from david@3s1.com) Received: from 3s1.com (3s1.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h64KZ1pG007226; Fri, 4 Jul 2003 16:35:01 -0400 Received: (from root@localhost) by 3s1.com (8.12.9/8.12.9) id h64KSnan019422; Fri, 4 Jul 2003 16:28:49 -0400 (EDT) (envelope-from david@3s1.com) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.12.9/8.12.6) with ESMTP id h64KSmm4019396; Fri, 4 Jul 2003 16:28:48 -0400 (EDT) (envelope-from david@3s1.com) Received: (from david@localhost) by 3s1.com (8.12.9/8.12.9/Submit) id h64KSmrV019395; Fri, 4 Jul 2003 16:28:48 -0400 (EDT) (envelope-from david) Date: Fri, 4 Jul 2003 16:28:48 -0400 From: David Banning To: Matthew Seaman , David Banning , questions@freebsd.org Message-ID: <20030704202848.GA19205@skytrackercanada.com> References: <20030704151957.GA14457@skytrackercanada.com> <20030704190458.GD69059@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030704190458.GD69059@happy-idiot-talk.infracaninophile.co.uk> User-Agent: Mutt/1.4.1i X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) 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: Fri, 04 Jul 2003 20:28:54 -0000 > Return-Path: is meant to be inserted into the message headers by the > sendmail that does final delivery -- it's not something you should set > on all of the e-mail you send out. The machinery to handle all this > should already be in your sendmail.cf -- if there's a line: > > H?P?Return-Path: <$g> > > in the 'Format of Headers' section, then any delivery mailer with 'P' > in the F= flags (which is the default for the local and prog mailers) > will insert the Return-Path: header -- eg. > > Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qPSXfmnz9, S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, > ^^^^ OK. I've got the same entries as you, but I am not getting the Return-Path: put in the header. Now I am reading my mail -on- the server. Since it is mail.local or in my case procmail that reads it, it -should- put it in before depositing it in /var/mail for pickup, shouldn't it? I have tried compiling with the procmail option out, like yours and it makes no difference. My sendmail.cf shows; 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/HdrFromL, R=EnvToL/HdrToL, D =$z:/, T=X-Unix/X-Unix/X-Unix, A=sh -c $u