On 03 May 2002, Matt Sergeant wrote: > On Fri, 2002-05-03 at 00:35, Daniel Pittman wrote: >> On Thu, 02 May 2002, Matt Sergeant wrote: >> > Craig R Hughes wrote: >> >> Yes, see bugzilla #18 which I merged into #130. This is the major >> >> piece of stuff I'd like to get done for 2.30 -- and I'm actually >> >> quite motivated to do the coding myself; I have a couple of other >> >> things I'm probably going to be working on, but might well have >> >> 130 done by month end. >> > >> > I'm thinking of doing this this week, so let me know if you want me >> > to hold off. >> > >> > I've also got some mail parsing code you may be interested in >> > rather than using MIME-tools, or whatever the plan was. It's pretty >> > sweet code based on some stuff I wrote a couple of years ago now. >> > I've been running it over some large archives and it does pretty >> > well. >> >> Cool. Does it correctly handle cases such as MIME digest messages >> containing nested multipart/related and multipart/alternative >> content? > > Well we don't care if there's multiply nested stuff - because anything > deeper than the first level is just an attachment
Bzzzt. Wrong. That, there, is the sort of thinking that results in quite a number of broken MUA implementations. > (though it does store attachments, with their mime type, so you can > parse them if you want to). Good. SpamAssassin, at least, should be scanning inline parts no matter their depth in the hierarchy. Attachment parts probably only want scanning when they are the only, or first, part in a message. That way you emulate the largest set of email clients, including the buggy Win32 ones like Outlook which *know* that anything after the first part is an "attachment". MIME specifies the style directly for a reason. :) Daniel -- Never express yourself more clearly than you are able to think. -- Niels Bohr _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk