image-only spam -- ideas, what to do?

Tom Anderson tanderso at oac-design.com
Tue Dec 12 19:16:36 CET 2006


John Villalovos wrote:
> I add this to my /etc/procmailrc.  It adds a header if there is an inline image.
> 
> :0 HB
> # If it has an inline image, put in a header to indicate so.
> * src=(3D)?\"cid:.*@.*\"
> {
>     :0 fwh
>     # Make sure space at end of header.
>     | formail -I"X-Inline-Image: "
> }

I'm not sure that's even necessary.  Bogofilter already scores "src", 
"mime:image", "mime:Content-ID", "baseline", "mime:gif", "head:related", 
and other inline-image-related tokens.  It certainly can't hurt to add 
one more though.

Tom





More information about the Bogofilter mailing list