At 11:55 -0700 04 Oct 1999, Robert Chien <[EMAIL PROTECTED]> wrote:
> Which RFC specifies the format of In-reply-to:? Reason I ask
> is because dtmail (as well as Eudora Pro, hotmail) doesn't
> seem to do it and thus breaks my threads in mutt. I would
> like to submit a bug report and need some references.

In-reply-to is listed as an optional header right in RFC 822, the
original specification for the format of mail.  But it doesn't say much
about the format, and the little it does say seems to be ignored more
often than not.  The most common format for this header is something
like:

In-reply-to: <message-id> from "name" <address> at date

Although just having the message-id is also common.

Eudora has actually included an In-reply-to header for a while now, but
it often breaks it horribly by putting a new line in the middle of the
message-id, even though this is only allowed where other white-space is
allowed.  I reported this bug to Qualcomm quite a while ago (I think it
was during the Eudora 3.0 beta) but they haven't fixed it yet.  I've
been using the following procmail recipe to work around this problem:

:0fhw
* ^In-Reply-To:[^<]*<[^>]*[     ]
| $HOME/bin/fixeud

That's a space and a tab inside the otherwise empty brackets, the fixeud
script is attached.

Good luck in trying to get other MUAs to support this.

-- 
Aaron Schrab     [EMAIL PROTECTED]      http://www.execpc.com/~aarons/
 To err is human, to forgive, beyond the scope of the Operating System.
#!/usr/bin/awk -f

BEGIN { IGNORECASE=1 }

/^in-reply-to:[^<]*<[^>]*$/ {
  prev=$0
  getline
  sub(/^[       ]*/, prev)
}

{ print }

Reply via email to