Hi Michael,
A little bit lat, but I was in Palestine and the Israelian Autority
had arrest me for 8 days... (coming back yesterday)
I use the following INCLUDERC:
----[ '/home/michelle.konzack/.procmail/FLT_gif_jpeg' ]-------------
####################################################################
#
# FLT_gif_jpeg
#
####################################################################
:0
* > 10000
* B ?? ^Content-Type:.*image/(gif|jpeg|pjpeg)
.ATTENTION.FLT_gif_jpeg/
--------------------------------------------------------------------
The "* > 10000" is a long time experience since
most mailinglist messages are under 8 kByte.
This catch per day more then 30 MByte of Pics-Spam.
Greetings
Michelle Konzack
Am 2006-06-19 15:56:56, schrieb Michael Bluejay:
I'm trying to figure out how to filter spam where the message is
nothing but a bunch of image attachments. I haven't figured out a
way to filter spam that's just a single image, but when it's a jigsaw
of several images I figure I can check to see if the messages
contains multiple images. But I don't know a regexp that will do
that. I couldn't find syntax for matching something, say, 10 or more
times. I think the following works in Perl but it didn't seem to
work in Procmail:
:0 B
* (_NextPart.+){10,}
!filterbox(_at_)mydomain(_dot_)com
------------------------- END OF REPLYED MESSAGE -------------------------
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail