On Tue, 2009-05-26 at 17:49 +0200, Matus UHLAR - fantomas wrote: > On 26.05.09 11:23, Martin Gregorie wrote: > > Yes - comparing MIME image type to the file extension is already > > obsolete. > > Are you sure? Have you made any measures that tell such comparision is > useless and has much of FPs? > I have been running rules that trap PNG images since the current spate of image spam started and these have been stopping it successfully. All the image spam I've seen has come via SourceForge mailing lists, so 'no text' rules have never worked for me, but I've been stopping it by a combination of the image mime header information and subject line content. The volume has never been all that great, but I haven't been seeing FPs
However, during last weekend, I've had image spam that got through, three examples IIRC, all of it bypassing my rules by spoofing the image's mime header. All have claimed to be JPEG images, but all have been PNG. > To have good opinion, I'd prefer doing comparision of mismatches between > filename/mimetype, mimetype/magic and filename/magic, there could tell us > if the first is enough or not. > All I'm saying is that filename/mimetype is insufficient to trap this latest spam, but that the recently posted IMAGE_MISMATCH rule is catching it: since implementing this rule I've had a further two examples which were both successfully trapped. I am a single user, not a company or an ISP. My incoming mail comes via my ISP, who uses greylisting. I typically see around 8 +/-2 spams from around 100 incoming messages per day, so getting five of these image spams during 4.5 days is not insignificant. Martin
