From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9850 Path: main.gmane.org!not-for-mail From: Mark Eichin Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus, movemail, POP3, trailing empty lines Date: 09 Feb 1997 17:21:23 -0500 Sender: eichin@cygnus.com Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149812 20909 80.91.224.250 (20 Oct 2002 21:36:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:36:52 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id OAA25064 for ; Sun, 9 Feb 1997 14:40:55 -0800 Original-Received: from cygnus.com (cygnus.com [205.180.230.20]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sun, 9 Feb 1997 23:21:31 +0100 Original-Received: from tweedledumb.cygnus.com (tweedledumb.cygnus.com [192.80.44.1]) by cygnus.com (8.6.12/8.6.9) with SMTP id OAA15380; Sun, 9 Feb 1997 14:21:27 -0800 Original-Received: from maneki-neko.cygnus.com by tweedledumb.cygnus.com (4.1/4.7) id AA24254; Sun, 9 Feb 97 17:21:25 EST Original-Received: (from eichin@localhost) by maneki-neko.cygnus.com (8.8.5/8.7.3) id RAA01584; Sun, 9 Feb 1997 17:21:24 -0500 Original-To: Rich Pieri In-Reply-To: Rich Pieri's message of 09 Feb 1997 11:19:26 -0500 Original-Lines: 29 X-Mailer: Gnus v5.2.39/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:9850 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9850 > Let's try that again: tell me, how does this algorithm know that a given > quoted "From " line in the body of the message is one that should be I think what you're missing is that you *don't* just quote ^From lines, you also quote ^>From, iteratively... you have to, it's the only way to do it reliably. So, (xx inserted so the example doesn't get mangled) xxFrom xx>From xx>>From in an actual *message* gets stored as xx>From xx>>From xx>>>From and then the MTA before displaying it strips one > from any >*From line (that's a regexp "kleene" * not a glob *) yielding xxFrom xx>From xx>>From That's the Right Way(tm) to quote From lines. I've *never* seen a mailer actually do that; they all corrupt messages instead, taking only any xxFrom and making it xx>From, then any xx>From and making xxFrom even if it wasn't one it converted.