Procmail rule to drop image-attachment spam?
March 10, 2007 10:52 AM
Subscribe
How can I write a procmail rule that would drop messages with GIF or JPEG attachments under 100kB in size?
The vast majority of junkmail I receive has image attachments. Sometimes I get real mail from friends with image attachments.
The difference is the file size. Spam attachments are rarely over 100kB, while real pictures from digital cameras are of course much larger.
How can I write a procmail rule to drop any messages with image attachments under a certain size?
posted by odinsdream to computers & internet (7 comments total)
1 user marked this as a favorite
posted by frieze at 11:35 AM on March 10, 2007