9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: quanstro@coraid.com (erik quanstrom)
Subject: [9fans] Unescaped "From" in mail items
Date: Mon, 21 Jul 2008 21:21:01 -0400	[thread overview]
Message-ID: <5f997b973ebc0e8224579226e3c6b04a@coraid.com> (raw)
In-Reply-To: <20080720072831.BA0FC1E8C1F@holo.morphisms.net>

> This is acme mail's fault.  The easiest fix is to change
> /acme/mail/src/mesg.c to do two writes: first use write
> to write the header, and then use write2 to write the body
> (write2 is in reply.c and knows how to escape From).
> You'll probably also want to make write2 return whether
> or not it succeeded.

it's a bit odd that the mail readers (Mail, ned, imap4d)
all use upas/fs to take care of reading mailboxes, but
when appending a message to a mailbox, all three
assume they know how mailboxes are structured.

- erik



      reply	other threads:[~2008-07-22  1:21 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 ` [9fans] Unescaped "From" in mail items Adrian Tritschler
2008-02-06  9:57   ` erik quanstrom
2008-07-20  7:31   ` Russ Cox
2008-07-22  1:21     ` erik quanstrom [this message]

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=5f997b973ebc0e8224579226e3c6b04a@coraid.com \
    --to=quanstro@coraid.com \
    /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).