9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Adrian Tritschler <ajft@ajft.org>
To: 9fans@cse.psu.edu
Subject: [9fans] Unescaped "From" in mail items
Date: Wed,  6 Feb 2008 16:50:31 +1100	[thread overview]
Message-ID: <kgrlk5yeiqg.fsf@w-cl28-g34-c.its.monash.edu.au> (raw)
In-Reply-To: <a5ad858ccf893c9c771d46d785553a5e@hamnavoe.demon.co.uk>

I've just been archiving a bunch of old email that was sitting in IMAP
folders on a unix system somewhere into local folders on a plan9 system.
I used acme mail to access the remote IMAP folder then save the items I
wanted to local folders.

Some of these have an unescaped "^From" in the text, which seems to have
caused problems when I've saved them to the local mail folders.

The culprits seem to be multipart MIME, similar to:

  From News@InsideApple.Apple.com Tue Jun 19 12:14:30 EST 2007
  Return-Path: ...
  Content-Type: multipart/alternative;
	boundary="----=_Part_6716595_5283499.1182218824922"

  ------=_Part_6716595_5283499.1182218824922
  Content-Type: text/plain; charset=ISO-8859-1
  Content-Transfer-Encoding: quoted-printable
  Content-Disposition: inline

  Blah blah blah
  From $349
  ...
  ------=_Part_6716595_5283499.1182218824922
  Content-Type: text/html; charset=ISO-8859-1
  Content-Transfer-Encoding: quoted-printable
  Content-Disposition: inline
  ...misc HTML...
  ------=_Part_6716595_5283499.1182218824922--

Acme mail now reports multiple messages in the destination folders such
as:

111/	$199
110/	$349
109/	Apple <News@InsideApple.Apple.com>	Tue 19 Jun 2007
	iPod Gift Wrapping is now available.

upas/nedmail reports that the folder has 0 items in it, Acme mail that
it has 136 items.

Were the messages on the original server invalid before I started, is
acme mail handling them incorrectly when saving, or does upas/fs not
interpret them correctly after they've been saved locally?

     Adrian


  reply	other threads:[~2008-02-06  5:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11  8:51 [9fans] 'From' in outgoing mail considered harmful Richard Miller
2008-02-06  5:50 ` Adrian Tritschler [this message]
2008-02-06  9:57   ` [9fans] Unescaped "From" in mail items erik quanstrom
2008-07-20  7:31   ` Russ Cox
2008-07-22  1:21     ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kgrlk5yeiqg.fsf@w-cl28-g34-c.its.monash.edu.au \
    --to=ajft@ajft.org \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).