Daniel Quinlan wrote: DQ> Craig R Hughes writes: DQ> DQ> > full MIME_SUSPECT eval:mime_suspect('/path/to/mime.types') DQ> DQ> I looked at those MIME types that tended to be connected to unsolicited DQ> email (spam and viruses) or generally frequent and hard-coded those DQ> types. I also try to avoid opening additional files as much as DQ> possible. :-)
Well, you could open the file once the first time through, and then hold a suffix->type has in memory or something. I like the rule as you have it though. Has the advantage that it's pretty quick. C _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk