I would like to give a higher spam score to emails with images - how do I do this in procmail and/or spamassassin? In my .procmailrc I started like this:
| :0 B | * Content-Type: image/gif; | .y_spam_probable/ This works, but of course sends *all* emails with images to the given folder - what I'd like to do in procmail is extract the score given by spamassasin, if there's an image attached add 'x' to the score, and if the score is greater than 'y', send it to the spam folder. How to do this in procmail? Or even better, how to write a spamassassin rule that just adds a score for any message with image attachments? I tried reading the rules and the "writing rules" help on the wiki [1] - couldn't work it out. [1] http://wiki.apache.org/spamassassin/WritingRules -- Sonia Hamilton. GPG key A8B77238. . One OS to rule them all, One OS to find them. One OS to call them all, And in salvation bind them. In the bright land of Linux, Where the hackers play. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
