Date: Fri, 4 Jul 2003 20:04:58 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: David Banning <david@skytracker.ca> Cc: questions@freebsd.org Subject: Re: getting sendmail to add Return-Path: header Message-ID: <20030704190458.GD69059@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20030704151957.GA14457@skytrackercanada.com> References: <20030704151957.GA14457@skytrackercanada.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--9UV9rz0O2dU/yYYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 04, 2003 at 11:19:57AM -0400, David Banning wrote: > I need to have the Return-Path: header to added to my emails. >=20 > Any idea what is needed to configure sendmail to do that? 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=3D flags (which is the default for the local and prog mailers) will insert the Return-Path: header -- eg. Mlocal, P=3D/usr/libexec/mail.local, F=3DlsDFMAw5:/|@qPSXfmnz9,= S=3DEnvFromSMTP/HdrFromL, R=3DEnvToL/HdrToL, ^^^^ T=3DDNS/RFC822/SMTP, A=3Dmail.local -l These are the default settings, and it would take sufficient effort to generate a sendmail.cf without something like those in it that you would surely remember doing so... See http://www.faqs.org/rfcs/rfc2821.html, section 4.4 for the chapter and verse about the Return-Path: header. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --9UV9rz0O2dU/yYYn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/Bc/adtESqEQa7a0RArHmAKCciz+Y9aH28c86iGdFhShuaIpLVwCfZMOG lr5vNp68BsDzOj1DAetk+vY= =lWUX -----END PGP SIGNATURE----- --9UV9rz0O2dU/yYYn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030704190458.GD69059>