You know, all of these header problems seem to be a case of parsing.
I'm pretty sure there is an RFC (or three) that covers the correct way
to parse email headers, but I think such code has already been done...in
fetchmail.
I read ESR's "The Cathedral and the Bazaar" last weekend, which cronicles the work he did on fetchmail.
http://www.tuxedo.org/~esr/writings/cathedral-bazaar/cathedral-bazaar.html
In it, he talks about implementing RFC 822 parsing for email headers, as well as RFC 1652 which covers 8-bit MIME support.
http://www.tuxedo.org/~esr/writings/cathedral-bazaar/cathedral-bazaar-7.html
Perhaps it would be beneficial for us to pull out this parsing engine from fetchmail to use in hypermail. I think it might solve a lot of problems and fix a lot of header parsing issues!
Dave
HyperMail_www_at_associate.com wrote:
>Hi,
>
>Here's another From: header that HyperMail 2.0a16 refuses to process:
>
> From: <cyberhugz_at_yahoo.com>
>
>Thanks,
>
>glen_stewart_at_associate.com
Received on Wed 31 Mar 1999 12:17:07 AM GMT
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:50 PM GMT GMT