On Thu, Oct 09, 2003 at 01:20:37AM -0700, Paul Johnson wrote: > I've noticed when you forward a message in mutt, it strips off the > very first header, the envelope From. Is there a way to change this?
Headers from your original post, as burst out of the digest: > From [EMAIL PROTECTED] Thu Oct 9 01:20:37 -0700 2003 > Date: Thu, 9 Oct 2003 01:20:37 -0700 > From: Paul Johnson <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: Debian User List <[EMAIL PROTECTED]> > Subject: mutt: how to forward envelope From? > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed > Content-Disposition: inline Headers from forwarding it to myself from mutt: > From [EMAIL PROTECTED] Thu Oct 09 21:33:21 2003 > Return-path: <[EMAIL PROTECTED]> > Envelope-to: [EMAIL PROTECTED] > Received: from pigeon by pigeon.pigeonloft with local (Exim 3.35 #1 (Debian)) > id 1A7hTN-0003qj-00 > for <[EMAIL PROTECTED]>; Thu, 09 Oct 2003 21:33:21 +0100 > Received: from pigeon by pigeon.pigeonloft with local (Exim 3.35 #1 (Debian)) > id 1A7hTN-0003qa-00 > for <[EMAIL PROTECTED]>; Thu, 09 Oct 2003 21:33:21 +0100 > Date: Thu, 9 Oct 2003 21:33:21 +0100 > To: [EMAIL PROTECTED] > Subject: [EMAIL PROTECTED]: mutt: how to forward envelope From?] > Message-ID: <[EMAIL PROTECTED]> > Mime-Version: 1.0 > Content-Type: multipart/signed; micalg=pgp-sha1; > protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" > Content-Disposition: inline > User-Agent: Mutt/1.3.28i > From: Pigeon <[EMAIL PROTECTED]> I think that envelope-from has been added by exim (and then rewritten by exim; my rewriting rule is broken for mail sent to myself, but it doesn't cause anything else to break, so I can live with it :-) ) It would probably be possible to define a forward_format in .muttrc that includes the entire original envelope-from in the subject header, and then have an exim.conf rewriting rule that detects that subject header format and reconstructs the envelope-from. It would be kind of gross though. -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
pgp00000.pgp
Description: PGP signature