Andrew Kohlsmith wrote:
>>2. Use an external mail class to parse your email and split out just the
>>text and html parts to pass to SpamAssassin. A huge part of the load on
>>SA is in doing nasty slow regexps across the "rawbody" tests when the
>>email contains large MIME attachments.
> 
> 
> Do you have a document giving an example configuration for this?  

I don't...

We have an internal mail parser here at MessageLabs written in C, that 
decodes the email into separate files (including extracting zips and 
other compressed formats).

On top of that I wrote a simple class (called Message) which scans the 
directory of files and loads them into an object that can then access 
the various parts of the email.

Then another class, called SAMessage wraps that into the format 
SpamAssassin understands (see MyMailAudit in the distro for an example 
of this).

Sorry I can't give more away than that. It's all fairly proprietary.

Matt.


_______________________________________________________________

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

Reply via email to